Mess around with images and GIFs on Discord! Dimwit is a Discord bot that introduces numerous funny image-related commands. Written in TypeScript.
- Multiple image-related commands, and a small set of useful utility commands
- All features fully work with all widely-used image formats, including GIFs
- A cache that allows users to select an already-uploaded image to use in their command without re-uploading it
- The cache automatically saves, persisting between sessions
node.js(≥ 20.11.1)npm(≥ 10.2.4)
- Install dependencies:
npm i - Build JS files:
npm run build - Run:
npm start
Create a config.json file in .config/ with the following information:
| Name | Details |
|---|---|
token |
Your bot's token |
clientId |
Your app's application ID (string) |
guildId |
ID of a testing guild (string) |
You may also want to add the following information, which is not required for the bot to run but may be required for certain features:
| Name | Default | Details |
|---|---|---|
doAdvancedLogging |
false |
Suppress outputs that are usually unnecessary |
inviteLink |
A URL that people can use to add the bot to the server (it is recommended to use 277025770496 for permissions and bot+applications.commands for scope) |
| Command | Details |
|---|---|
npm test |
Build and start. |
npm run build |
Compile all .ts files in src/ to .js files in dist/. This will delete everything in the dist/ folder first. |
npm run update-commands |
Requires that you compiled to .js with npm run build! Allows you to refresh and flush commands. |

