Skip to content

decentcarp/PassmarkBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentcarp's Passmark Discord Bot

An implementation of my PassmarkSearcher as a Discord bot.

Alt text

Commands

!passmark - Short, compact way to get the single core performance, multi core performance and the TDP of a CPU. To compare two CPUs with passmark, seperate them with a pipe [|]. (e.g !passmark i7-7700K | i7-9700K)

!spec - Less compact, but also provides the type of CPU (desktop/laptop/server), socket and cores.

Usage

  1. Clone this repo.

  2. Build Concord's dev branch and install Concord.

  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)

About

A Discord bot to fetch Passmark CPU scores.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages