A Discord bot to fetch Passmark CPU scores.
Find a file
2026-03-31 14:12:04 +00:00
.gitattributes Initial commit 2026-01-23 22:27:30 +00:00
.gitignore Add comparison feature & move Apple CPUs up the list 2026-02-06 20:58:46 +00:00
config.json.example Initial commit 2026-01-23 22:28:21 +00:00
gpupassmark.txt Fix bot spamming, add 5 query support, remove !spec 2026-02-20 01:00:11 +00:00
LICENSE Initial commit 2026-01-23 22:27:30 +00:00
passmark.txt Add comparison feature & move Apple CPUs up the list 2026-02-06 20:58:46 +00:00
passmarkbot.c Add percentages for 3-5 CPU and GPU comparisons 2026-03-11 22:25:49 +00:00
README.md Update link 2026-03-31 14:12:04 +00:00

Decentcarp's Passmark Discord Bot

An implementation of my PassmarkSearcher as a Discord bot.

Alt text

Commands

!passmark - Get the single core performance, multi core performance and the TDP of a CPU. To compare multiple CPUs with !passmark, seperate them with a pipe [|]. (e.g !passmark i7-7700K | i7-9700K). You may compare up to five CPUs.

!gpassmark - Get the 3D performance, VRAM and the TDP of a GPU. Again, to compare multiple GPUs with !gpassmark, seperate them with a pipe. [|]. (e.g !gpassmark 7900 XT | RTX 3080). You may compare up to five GPUs.

You may also use !pm and !gpm in place of !passmark and !gpassmark respectively.

Usage

  1. Clone this repo.

  2. Build Concord's dev branch and install Concord (make install does it.).

  3. Build passmarkbot.c with gcc passmarkbot.c -o passmarkbot -pthread -ldiscord -lcurl. Alternatively, if your compiler is Clang, you can use clang passmarkbot.c -o passmarkbot -pthread -ldiscord -lcurl.

  4. Edit config.json.example by filling in your bot's token and save as config.json.

  5. Run and profit.

Credits

  • Decentcarp/Eleanor/R5900 (aka me)
  • Concord (Discord API bindings)
  • GeeksforGeeks (public code reference)