All Commands
Legend
<required arg>
[optional arg]
Text arguments containing multiple words needs be to put in quotes ("arg here") or backticks (`arg here`) if it's not the last argument and there's more than 1 text argument.
For example with the poll command if you want the question to have multiple words: -poll "what's your favourite colour" red blue green2
Most Debug & Maintenance commands, or commands without any meaningful description are meant for bot owner or serverAdmin only!
If commands are denoted with an accent, tilde ~
, they are not yet deployed in actual YAGPDB bot or have been disabled in main bot, but are still in master code branch.
General âšī¸
Help
Aliases: commands/h/how/command
Shows help about all or one specific command
Usage:
Info
Responds with bot information
Usage:
Invite
Responds with bot invite link
Usage:
Tools & Utilities đ¨
Calc
Aliases: c/calculate
Calculator 2+2=5
Usage:
CReminders
Lists reminders in channel, only users with 'manage server' permissions can use this.
Usage:
CurrentTime
Aliases: ctime/gettime
Shows current time in different timezones. Available timezones
Usage:
CustomCommands
Aliases: cc
Shows a custom command specified by id or trigger, or lists them all
Usage:
CustomEmbed
Aliases: ce
Creates an embed from what you give it in json form: https://docs.yagpdb.xyz/others/custom-embeds Example: -ce {"title": "hello", "description": "wew"}
Usage:
DelReminder
Aliases: rmreminder
Deletes a reminder. You can delete reminders from other users provided you are running this command in the same guild the reminder was created in and have the Manage Channel permission in the channel the reminder was created in.
Usage:
Evalcc
executes custom command code (up to 1k characters)
Usage:
fixscheduledccs
Corrects the next run time of interval CCs globally, fixes issues arising from missed executions due to downtime. Bot Admin Only
Usage:
ListRoles
List roles, their id's, color hex code, and 'mention everyone' perms (useful if you wanna double check to make sure you didn't give anyone mention everyone perms that shouldn't have it)
Usage:
Logs
Aliases: log
Creates a log of the last messages in the current channel. This includes deleted messages within an hour (or 12 hours for premium servers)
Usage:
~Nicknames
Aliases: nn
Shows past nicknames of a user. Only shows up to the last 25 nicknames.
Usage:
Poll
Create very simple reaction poll. Example: poll "favorite color?" blue red pink
Usage:
Prefix
Shows command prefix of the current server, or the specified server
Usage:
Reminders
Lists your active reminders
Usage:
Remindme
Aliases: remind/reminder
Schedules a reminder, example: 'remindme 1h30min are you alive still?'
Usage:
~ResetPastNames
Reset your past usernames/nicknames.
Usage:
Role
Toggle a role on yourself or list all available roles, they have to be set up in the control panel first, under 'rolecommands'
Usage:
Settimezone
Aliases: setz/tzset
Sets your timezone, used for various purposes such as auto conversion. Give it your country.
Usage:
SimpleEmbed
Aliases: se
A more simpler version of CustomEmbed, controlled completely using switches.
You can edit existing messages by supplying the -message
flag.
Usage:
Stats
Shows server stats (if public stats are enabled). This command is only available if collecting statistics is enabled bot not user side. Disabled for YAGPDB.
Usage:
ToggleTimeConversion
Aliases: toggletconv/ttc
Toggles automatic time conversion for people with registered timezones (setz) in this channel, its on by default, toggle all channels by giving it all
Usage:
Undelete
Aliases: ud
Views the first 10 recent deleted messages. By default, only the current user's deleted messages will show. You can use the -a
flag to view all users delete messages, or -u
to view a specified user's deleted messages. Both -a
and -u
require Manage Messages permission. Note: -u
overrides -a
meaning even though -a
might've been specified along with -u
only messages from the user provided using -u
will be shown.
Usage:
~Usernames
Aliases: unames/un
Shows past usernames of a user. Only shows up to the last 25 usernames.
Usage:
ViewPerms
Shows you or the targets permissions in this channel
Usage:
Whois
Aliases: whoami
Shows information about a user
Usage:
Fun đ
Define
Aliases: df
Look up an urban dictionary definition, default paginated view.
Usage:
Weather
Aliases: w
Shows the weather somewhere
Usage:
Topic
Generates a conversation topic to help chat get moving.
Usage:
CatFact
Aliases: cf/cat/catfacts
Cat Facts
Usage:
DadJoke
Generates a dad joke using the API from icanhazdadjoke.
Usage:
DogFact
Aliases: dog/dogfacts
Dog Facts
Usage:
Advice
Don't be afraid to ask for advice!
Usage:
Throw
Throwing things is cool.
Usage:
Roll
Roll dices, specify nothing for 6 sides, specify a number for max sides, or rpg dice syntax. Example: -roll 2d6
Usage:
WouldYouRather
Aliases: wyr
Get presented with 2 options.
Usage:
Xkcd
An xkcd comic, by default returns random comic strip
Usage:
Howlongtobeat
Aliases: hltb
Game information based on query from howlongtobeat.com. Results are sorted by popularity, it's their default. Without -p returns the first result. Switch -p gives paginated output using Levenshtein distance sorting max 20 results.
Usage:
Inspire
Aliases: insp
Shows 'inspirational' quotes from inspirobot.me...
Usage:
Forex
Aliases: Money
đą convert value from one currency to another.
Usage:
Roast
Aliases: insult
Sends a random roast
Usage:
dictionary
Aliases: owldict/owl/dict
Get the definition of an English word using the dictionaryapi.dev
Usage:
TakeRep
Aliases: -/tr/trep/-rep
Takes away rep from someone
Usage:
GiveRep
Aliases: +/gr/grep/+rep
Gives rep to someone
Usage:
SetRep
Aliases: SetRepID
Sets someones rep, this is an admin command and bypasses cooldowns and other restrictions.
Usage:
DelRep
Deletes someone from the reputation list completely, this cannot be undone.
Usage:
RepLog
Aliases: replogs
Shows the rep log for the specified user.
Usage:
Rep
Shows yours or the specified users current rep and rank
Usage:
TopRep
Shows rep leaderboard on the server
Usage:
8Ball
Ask the magic 8ball a question
Usage:
Soundboard
Aliases: sb
Play, or list soundboard sounds
Usage:
SoundboardReset
Aliases: sbclose/sbreset
Reset Soundboard Player
Usage:
cah Create
Aliases: c
Creates a Cards Against Humanity game in this channel, add packs after commands, or * for all packs. (-v for vote mode without a card czar).
Usage:
cah End
Ends a Cards Against Humanity game that is ongoing in this channel.
Usage:
cah Kick
Kicks a player from the ongoing Cards Against Humanity game in this channel.
Usage:
cah Packs
Lists all available packs.
Usage:
Trivia
Asks a random question, you have got 30 seconds to answer!
Usage:
Debug & Maintenance đĨ
allocstat
Memory statistics. Bot Admin Only
Usage:
banserver
Bans the specified server from using the bot. YAGPDB will leave the server, and leave whenever invited back. Bot Owner Only
Usage:
ccreqs
Returns the number of concurrent requests currently going on. Bot Admin Only
Usage:
cleardm
clears the DM chat with a user, owner only command.
Usage:
createinvite
Maintenance command, creates an invite for the specified server. Bot Admin Only
Usage:
CurrentShard
Aliases: cshard
Shows the current shard this server is on (or the one specified
Usage:
dcallvoice
Disconnects from all the voice channels the bot is in. Bot Admin Only
Usage:
findserver
Aliases: findservers
Looks for a server by server name or the servers a user owns. Bot Admin Only
Usage:
generatepremiumcode
Aliases: gpc
Generates premium codes. Bot Owner Only
Usage:
globalrl
Tests the global ratelimit functionality. Bot Owner Only
Usage:
IsGuildUnavailable
Returns wether the specified guild is unavilable or not
Usage:
leaveserver
Causes YAGPDB to leave the specified server. The bot may still be invited back with full functionality restored. Bot Owner Only
Usage:
listflags
Lists feature flags for the current, or optional provided guild. Bot Owner Only
Usage:
memstats
Full memory statistics. Bot Owner Only
Usage:
Ping
Shows the latency from the bot to the discord servers. Note that high latencies can be the fault of ratelimits and the bot itself, it's not a absolute metric.
Usage:
Roledbg
Returns count of autorole assignments currently being processed
Usage:
setstatus
Sets the bot's presence type, status text, online status, and optional streaming URL. Bot Admin Only
Usage:
sleep
Maintenance command, used to test command queueing. Bot Admin Only
Usage:
state botmember/guild/member
Responds with state debug info. Bot Admin Only
Usage:
stateinfo
Responds with state debug info
Usage:
testreddit
Tests the reddit feeds in this server by checking the specified post. Bot Owner Only
Usage:
TopServers
Responds with the top 15 servers I'm on
Usage:
toggledbg
Toggles Debug Logging. Restarting the bot will always reset debug logging. Bot Owner Only
Usage:
topcommands
Shows command usage stats
Usage:
topevents
Shows gateway event processing stats for all or one shard
Usage:
topgames
Shows the top games on this server
Usage:
unbanserver
Removes the bot ban from the specified server. Bot Owner Only
Usage:
Viewperms
Shows you or the targets permissions in this channel
Usage:
Yagstatus
Aliases: status
Shows yagpdb status, version, uptime, memory stats, and so on
Usage:
Moderation đŽ
All auto-moderation commands automod ...
affect Automoderator v2.
Ban
Aliases: banid
Bans a member, specify a duration with -d and specify number of days of messages to delete with -ddays (0 to 7)
Usage:
Unban
Aliases: unbanid
Unbans a user. Reason requirement is same as ban command setting.
Usage:
Kick
Kicks a member
Usage:
Mute
Mutes a member
Usage:
Unmute
Unmutes a member
Usage:
Timeout
Aliases: to
Timeout a member
Usage:
RemoveTimeout
Aliases: untimeout/cleartimeout/deltimeout/rto
Removes a member's timeout
Usage:
Report
Reports a member to the server's staff
Usage:
Clean
Aliases: clear/cl
Will not delete messages older than 2 weeks.
Delete the last number of messages from chat, optionally filtering by user, max age and regex or ignoring pinned messages.
Warning: Using clean <userId> <amount>
does not work. This is because the user ID is interpreted as the amount. As it is over the limit of 100, it is treated as invalid. You can use clean <amount> <userId>
instead or mention the user. Specify a regex with "-r regex_here" and max age with "-ma 1h10m" You can invert the regex match (i.e. only clear messages that do not match the given regex) by supplying the -im
flag.
Note: Will only look in the last 1k messages
Usage:
Reason
Add/Edit a modlog reason
Usage:
Warn
Warns a user, warnings are saved using the bot. Use -warnings to view them.
Usage:
Warnings
Aliases: Warns
Lists warning of a user.
Usage:
EditWarning
Edit a warning, id is the first number of each warning from the warnings command
Usage:
DelWarning
Aliases: dw/delwarn/deletewarning
Deletes a warning, id is the first number of each warning from the warnings command
Usage:
ClearWarnings
Aliases: clw
Clears the warnings of a user
Usage:
TopWarnings
Aliases: topwarns
Shows ranked list of warnings on the server.
Usage:
GiveRole
Aliases: grole/arole/addrole
Gives a role to the specified member, with optional expiry
Usage:
TakeRole
Aliases: rrole/takearole/trole
Removes the specified role from the target
Usage:
automod Rulesets
Aliases: r/list/l
Lists all rulesets and their status
Usage:
automod Toggle
Aliases: t
Toggles a ruleset on/off
Usage:
automod Logs
Aliases: log
Shows the log of the last triggered automod rules, optionally filtering by user
Usage:
automod ListViolations
Aliases: Violations/ViolationLogs/VLogs/VLog
Lists Violations of specified user /n old flag posts oldest violations in first page ( from oldest to newest ).
Usage:
automod ListViolationsCount
Aliases: ViolationsCount/VCount
Lists Violations summary in entire server or of specified user optionally filtered by max violation age. Specify number of violations to skip while fetching using -skip flag ; max entries fetched 500.
Usage:
automod DeleteViolation
Aliases: DelViolation/DelV/DV
Deletes a Violation with the specified ID. ID is the first number of each Violation in the ListViolations command.
Usage:
automod ClearViolations
Aliases: ClearV/ClrViolations/ClrV
Clears Violations of specified user optionally filtered by Name, Min/Max age and other conditions. By default, more recent violations are preferentially cleared.
Usage:
Rolemenu đ
alias: rmenu
RoleMenu Create
Aliases: c
Set up a role menu. Specify a message with -m to use an existing message instead of having the bot make one
To get the id of a message you have to turn on developer mode in discord's appearances settings then right click the message and copy id.
Usage:
RoleMenu EditOption
Aliases: edit
Allows you to reassign the emoji of an option, tip: use ResetReactions afterwards.
To get the id of a message you have to turn on developer mode in discord's appearances settings then right click the message and copy id.
Usage:
RoleMenu Listgroups
Aliases: list/groups
Lists all role groups.
Usage:
RoleMenu Remove
Removes a rolemenu from a message. The message won't be deleted and the bot will not do anything with reactions on that message
To get the id of a message you have to turn on developer mode in discord's appearances settings then right click the message and copy id.
Usage:
RoleMenu ResetReactions
Aliases: reset
Removes all reactions on the specified menu message and re-adds them. Can be used to fix the order after updating it.
To get the id of a message you have to turn on developer mode in discord's appearances settings then right click the message and copy id.
Usage:
RoleMenu Update
Aliases: u
Updates a rolemenu, toggling the provided flags and adding missing options, aswell as updating the order.
To get the id of a message you have to turn on developer mode in discord's appearances settings then right click the message and copy id.
Usage:
Tickets đĢ
alias: ticket
Tickets Open
Aliases: create/new/make
Opens a new ticket
Usage:
Tickets AddUser
Adds a user to the ticket in this channel
Usage:
Tickets RemoveUser
Removes a user from the ticket
Usage:
Tickets Rename
Renames the ticket
Usage:
Tickets Close
Aliases: end/delete
Closes the ticket
Usage:
Tickets AdminsOnly
Aliases: adminonly/ao
Toggle admins only mode for this ticket
Usage:
Events đ
alias: event
Events Create
Aliases: new/make
Creates an event, You will be led through an interactive setup
Usage:
Events Edit
Edits an event
Usage:
Events List
Aliases: ls
Lists all events in this server
Usage:
Events Delete
Aliases: rm/del
Deletes an event, specify the event ID of the event you wanna delete
Usage:
Events StopSetup
Aliases: cancelsetup
Force cancels the current setup session in this channel
Usage:
Last updated