Skip to content

Instantly share code, notes, and snippets.

@Soheab
Last active December 28, 2025 14:20
Show Gist options
  • Select an option

  • Save Soheab/a6229dbbe3acf3ce9a4625bf9e7177da to your computer and use it in GitHub Desktop.

Select an option

Save Soheab/a6229dbbe3acf3ce9a4625bf9e7177da to your computer and use it in GitHub Desktop.
Ideas to create commands for a Discord bot, but without the privileged message content intent.

Credits go to maukkis (991406354810015867), me and some other members of the discord developers server.

@maukkis
Copy link

maukkis commented Nov 14, 2025

you should also add autocomplete commands as in prefix commands that are filled in to a slash commands autocomplete parameter

@madeline-xs
Copy link

I suggest adding ban and unban commands. Ban commands could be configured to trigger different actions depending on which message delete history option you select (none, hour, 6 hour, 12 hour, 24 hour, 3 day, or 7 day). If you don't mind banning random members and you have a large server, you could also setup the command to behave differently based on variables like the member's name, roles, number of months in the server, etc.

@AlmostSuspense
Copy link

backreading commands: you send a prefix command, but it only triggers once enough messages have been sent afterwards in the same channel (ddevs moment)

@Soheab
Copy link
Author

Soheab commented Nov 17, 2025

presences commands by Karma (243088998245859329) in the discord-developers server.

first mention: https://discord.com/channels/613425648685547541/1130602202919088158/1426936035186573399
Search for from: 243088998245859329 presences commands in ddevs for more context.

@Soheab
Copy link
Author

Soheab commented Nov 23, 2025

Badges / (Public) User Flags commands: commands that can only be run by users with set badges, or when these users send a message and they have a matching badge, it'll do something.

@maukkis
Copy link

maukkis commented Nov 23, 2025

you should add monetization commands

@Paillat-dev
Copy link

hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment