Skip to content

Instantly share code, notes, and snippets.

@cyrus01337
Last active December 6, 2022 05:46
Show Gist options
  • Save cyrus01337/2fe21c2539dfb93bd44613ff0f5c29c6 to your computer and use it in GitHub Desktop.
Save cyrus01337/2fe21c2539dfb93bd44613ff0f5c29c6 to your computer and use it in GitHub Desktop.
Curated list of Discord bot commands to be used as a reference (for creating the ultimate bot in history duh /s)

List of Commands

General

  • Standard and edit snipes
  • Display invite info
  • Reminders
  • Member inspection (Whois)

Logging

  • Kicks (fetch audit logs to verify)
  • Bans
  • Message edits
  • Message deletes
  • Messages containing links (regex)
  • Messages containing attachments
  • Messages containing profanity (overkill)
  • VC joining, leaving and deleting
  • Spam

Automod

  • Delete messages containing links (regex)
  • Delete messages containing profanity (overkill)
  • Spam detection
    • Mono- and multi-channel support
  • Raid detection

Moderation

  • Kick
  • Ban
  • Tempban
  • Mute
  • Purge
  • Lock (channel)
  • Lockdown
  • Member timeouts
  • Setting and clearing nicknames
    • Bonus: multiple member and role support
  • Purging every message within a channel

Server Management

  • Welcome, goodbye, kick, ban and mute messages
  • Adding, creating, removing and viewing roles

Configuration

  • Logging
  • Automod
    • Toggling subtext detection
    • Settings for spam detection
    • Toggles mono- and multi-channel, essentially supporting the enabling of both
  • Prefix
  • Server Management message content
    • Bonus: add optional embed creation

Meta

  • Submit suggestions
  • Submit bug reports

6th December 2022

  • Added member timeouts, nickname management and channel message purging to Moderation
  • Added role management to Server Management
  • Added General category
    • Included commands for general use/miscellaneous categorisation
  • Added Meta category
    • Included self-oriented commands

29th October 2022

  • Added changelog (crazy, right?)
  • Added Server Management category
    • Included Server Management - Welcome, goodbye, kick, ban and mute messages
  • Added Moderation category
    • Included general moderation commands
  • Added Automod - Spam and raid detection
  • Added Logging - VC joining, leaving and deleting alongside spam detection
  • Expanded on Configuration to reflect new changes
@HumbleToS
Copy link

Moderation: timeout (unless you consider this mute but they can be different)
Moderation: nickname (there are bult-ins but same with ban, kick, etc)
Moderation: clear (deletes and recreates the entire channel, this is a bit not good unless you implement it very well)
Moderation: create_role (creates a role with a given name, position, color and permissions if any)
Moderation: add_role, remove_role (Give or take roles from any user)
General: snipe (snipes the last deleted message in the given channel)
General: edit_snipe (snipes the last edited messages before and after content in the given channel)
General: image (this is very broad so I'd consider image being a group of image manipulation commands)
General/Informational: invite info (shows information about guild invites)
Informational/Interactive: suggest, report (allow users to suggest or report bugs)
Informational/Interactive: remind (sets a reminder for a user)
Informational: role_info (shows roles id, name, color in hex, role age, member count of the role)
Informational: whois (shows nickname, name#disciminator, join date, creation date, mutual server count, join position, user id, avatar and maybe status information like playing, listening, streaming, etc)

I will leave all of this up to you to add if you think they're worth adding

@cyrus01337
Copy link
Author

cyrus01337 commented Dec 6, 2022

@HumbleToS I've decided to combine all role management commands under server management, this may be subject to change in the future if a good enough argument is proposed.

All have been added, few have been expanded upon, namely timeout and nickname. I am on the fence about snipe commands, so long as a privacy notice is displayed and there are GDPR actions put in place I don't think it will be a problem. From the end-user's POV these things will help it remain useful, though this significantly reduces DX for a very minor feature, at this point there may well need to be a difficulty scale moving forward.

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