Commands
Last updated
Was this helpful?
Last updated
Was this helpful?
To get a list of available commands, do !help on your server.
Please note these commands are for the deprecated InviteLogger classic. Use instead
Most commands accept arguments and/or flags. According to the Type of the argument or flag you can provide different values.
This arguments expects true
or false
. You can also use yes
and no
.
This arguments expects a number
This arguments expects a value from a specific set of valid values.
Depending on the command the valid values can vary. Use
!help <command>
(eg.!help addRank
) to get more information about the command and the valid values for the enum.
This arguments expects a Discord Invite Code.
You can put only the part after
https://discord.gg/
to prevent Discord from creating a preview.
This arguments expects a Discord User. You can use any of the following methods to provide a user:
Mention the user: @Valandur
Use their ID: 102785693046026240
Use their name: Valandur
Use their name and discriminator: Valandur#3581
Use quotes if their name has a space: "Valandur with a space"
This arguments expects a Discord Role. You can use any of the following methods to provide a role:
Mention the role: @Admin
Use the ID: 102785693046026240
Use the name: Admin
Use quotes if the name has a space: "Admin with a space"
This arguments expects a Discord Channel. You can use any of the following methods to provide a channel:
Mention the channel: #general
Use the ID: 409846838129197057
Use the name: general
Use quotes if the name has a space: "general with a space"
This argument expects a command of this bot. You can use any of the following methods to provide a command:
Use the command name: invites
Use an alias of the command: p
This arguments expects any text. You can use quotes ("Text with quotes"
) for text that has spaces.
If the text is the last argument you don't have to use quotes.
This argument expects a date. You can use various formats, but we recommend: YYYY-MM-DD
This argument expects a duration. The following duration types are supported:
Seconds: s
(5s
= 5 seconds)
Minutes: min
(3min
= 3 minutes)
Hours: h
(4h
= 4 hours)
Days: d
(2d
= 2 days)
Weeks: w
(1w
= 1 week)
Months: mo
(6mo
= 6 months)
Years: y
(10y
= 10 years)
Command
Description
Usage
Adds/Removes invites to/from a member.
!addInvites \ \ [reason]
Clear invites of the server/a user.
!clearInvites [-d value|--date=value][-cb|--clearbonus] [user]
Creates unique invite codes.
!createInvite \ [channel][maxuses] [expires][temporarymembership]
Show info about a specific member.
!info \ [details][page]
Get a list of all your invite codes
!inviteCodes
Shows details about where your invites are from.
!inviteDetails [user]
Show personal invites.
!invites [user]
Show members with most invites.
!leaderboard [page]
Removes a specified amount of invites from a user.
!removeInvites \ \ [reason]
Restore all previously cleared invites.
!restoreInvites [user]
Remove fake invites from all users.
!subtractFakes
Remove leaves from all users
!subtractLeaves
Command
Description
Usage
Add a new rank.
!addRank \ \ [info]
Deletes any ranks where the role was deleted.
!fixRanks
Show all ranks.
!ranks [page]
Remove a rank.
!removeRank \
Command
Description
Usage
Show and change the config of the bot.
!botConfig [key][value]
Show and change the config of the server.
!config [key][value]
Interactive Config
!interactiveConfig
Show and change the config of invite codes of the server.
!inviteCodeConfig [key][invitecode] [value]
Show and change the config of members of the server.
!memberConfig [key][user] [value]
Configure permissions to use commands.
!permissions [cmd][role]
Command
Description
Usage
Get general information about the bot.
!botInfo
Show developers and contributors of the bot.
!credits
Get an invite link for the bot.
!getBot
Display help.
!help [command]
Show member count of current server.
!members
Ping the bot
!ping
Shows the current prefix of the bot.
!prefix
Help with setting up the bot and checking for problems (e.g. missing permissions)
!setup
Get an invite link to our support server.
!support
Command
Description
Usage
Export data of InviteLogger to a csv sheet.
!export \
Info about premium version of InviteLogger.
!premium [action]
Try the premium version of InviteLogger for free for a limited duration.
!tryPremium
Command
Description
Usage
Ban a member from the server.
!ban [-d value|--deleteMessageDays=value] \ [reason]
Delete a specific case.
!caseDelete \ [reason]
View info about a specific case.
!caseView \
Check violation and punishment history of a user.
!check \
Clean a channel of certain message types.
!clean \ [numberOfMessages]
Clear short messages
!cleanShort \ [numberOfMessages]
Delete messages containing certain keywords.
!cleanText \ [numberOfMessages]
Kick a member from the server.
!kick \ [reason]
Lockdown a specific channel (Prevents anyone without special roles from sending messages)
!lockdown [-t value|--timeout=value][channel]
Mute a user
!mute [-d value|--duration=value] \ [reason]
Configure punishments when reaching a certain amount of strikes.
!punishmentConfig [punishment][strikes] [args]
Purge messages in a channel.
!purge \ [user]
Purge messages in a channel up until a specified message.
!purgeUntil \
Ban and then automatically unban a member from the server.
!softBan [-d value|--deleteMessageDays=value] \ [reason]
Add strikes to a user
!strike \ \ \
Configure strikes received for various violations.
!strikeConfig [violation][strikes]
Unban a user
!unban \ [reason]
Add a character in front of all members with a special character in front of their name, so they will be shown at the end of the member list.
!unhoist
Unmute a user
!unmute \
Warn a member.
!warn \ [reason]
Command
Description
Usage
Shows graphs about various stats on this server.
!graph \ [from][to]
Adds/Removes invites to/from a member.
!add-invites
Argument
Type
Required
Description
Details
user
Yes
The user that will receive/lose the bonus invites.
amount
Yes
The amount of invites the user will get/lose. Use a negative (-) number to remove invites.
reason
No
The reason for adding/removing the invites.
Add a new rank.
!add-rank
!set-rank
!setrank
Argument
Type
Required
Description
Details
role
Yes
The role which the user will receive when reaching this rank.
invites
Yes
The amount of invites needed to reach the rank.
info
No
A description that users will see so they know more about this rank.
Ban a member from the server.
Argument
Type
Required
Description
Details
user
Yes
User to ban.
reason
No
Why was the user banned.
Flag
Short
Type
Description
‑‑deleteMessageDays
‑d
If specified will delete messages by the banned members this many days back.
Show and change the config of the bot.
!bot-config
!botsetting
!bot-setting
Argument
Type
Required
Description
Details
key
No
The bot config setting which you want to show/change.
Use one of the following values: activityEnabled
, activityMessage
, activityStatus
, activityType
, activityUrl
, embedDefaultColor
value
No
The new value of the setting.
Get general information about the bot.
!bot-info
Delete a specific case.
!case-delete
!deletecase
!delete-case
Argument
Type
Required
Description
Details
caseNumber
Yes
Case number
reason
No
The reason for removing the case.
View info about a specific case.
!case-view
!viewcase
!view-case
Argument
Type
Required
Description
Details
caseNumber
Yes
Case number
Check violation and punishment history of a user.
!history
Argument
Type
Required
Description
Details
user
Yes
User to check.
Clean a channel of certain message types.
!clear
Argument
Type
Required
Description
Details
type
Yes
The type of messages that will be deleted.
Use one of the following values: bots
, embeds
, emojis
, images
, links
, mentions
, reacted
, reactions
numberOfMessages
No
Number of messages that will be searched.
Clear short messages
!clean-short
!clearshort
!clear-short
Argument
Type
Required
Description
Details
maxTextLength
Yes
All messages shorter than this will be deleted.
numberOfMessages
No
Number of messages that will be searched.
Delete messages containing certain keywords.
!clean-text
!cleartext
!clear-text
Argument
Type
Required
Description
Details
text
Yes
All messages containing this word will be deleted.
numberOfMessages
No
Number of messages that will be searched.
Clear invites of the server/a user.
!clear-invites
Argument
Type
Required
Description
Details
user
No
The user to clear all invites from. If omitted clears all users.
Flag
Short
Type
Description
‑‑date
‑d
The date start at which invites should be counted. Default is today.
‑‑clearBonus
‑cb
Add this flag to clear bonus invites aswell. Otherwise bonus invites are left untouched.
Show and change the config of the server.
!c
Argument
Type
Required
Description
Details
key
No
The config setting which you want to show/change.
Use one of the following values: autoModAllCapsEnabled
, autoModAllCapsMinCharacters
, autoModAllCapsPercentageCaps
, autoModDeleteBotMessage
, autoModDeleteBotMessageTimeoutInSeconds
, autoModDisabledForOldMembers
, autoModDisabledForOldMembersThreshold
, autoModDuplicateTextEnabled
, autoModDuplicateTextTimeframeInSeconds
, autoModEmojisEnabled
, autoModEmojisMaxNumberOfEmojis
, autoModEnabled
, autoModHoistEnabled
, autoModIgnoredChannels
, autoModIgnoredRoles
, autoModInvitesEnabled
, autoModLinksBlacklist
, autoModLinksEnabled
, autoModLinksFollowRedirects
, autoModLinksWhitelist
, autoModLogEnabled
, autoModMentionRolesEnabled
, autoModMentionRolesMaxNumberOfMentions
, autoModMentionUsersEnabled
, autoModMentionUsersMaxNumberOfMentions
, autoModModeratedChannels
, autoModModeratedRoles
, autoModQuickMessagesEnabled
, autoModQuickMessagesNumberOfMessages
, autoModQuickMessagesTimeframeInSeconds
, autoModWordsBlacklist
, autoModWordsEnabled
, autoSubtractFakes
, autoSubtractLeaves
, autoSubtractLeaveThreshold
, captchaVerificationFailedMessage
, captchaVerificationLogEnabled
, captchaVerificationOnJoin
, captchaVerificationSuccessMessage
, captchaVerificationTimeout
, captchaVerificationWelcomeMessage
, channels
, getUpdates
, hideLeftMembersFromLeaderboard
, ignoredChannels
, joinMessage
, joinMessageChannel
, joinRoles
, lang
, leaderboardStyle
, leaveMessage
, leaveMessageChannel
, logChannel
, modLogChannel
, modPunishmentBanDeleteMessage
, modPunishmentKickDeleteMessage
, modPunishmentMuteDeleteMessage
, modPunishmentSoftbanDeleteMessage
, modPunishmentWarnDeleteMessage
, mutedRole
, prefix
, rankAnnouncementChannel
, rankAnnouncementMessage
, rankAssignmentStyle
value
No
The new value of the setting.
Creates unique invite codes.
!create-invite
Argument
Type
Required
Description
Details
name
Yes
The name of the invite code.
channel
No
The channel for which the invite code is created. Uses the current channel by default.
maxUses
No
number
--> The max amount of uses of the invite code
expires
No
true
or false
--> Set if the invite will expires after 24 hours
temporaryMembership
No
true
or false
--> Set if the invited users are granted as temporary members
Show developers and contributors of the bot.
Export data of InviteLogger to a csv sheet.
Argument
Type
Required
Description
Details
type
Yes
The type of export you want.
Use one of the following values: leaderboard
Deletes any ranks where the role was deleted.
!fix-ranks
Get an invite link for the bot.
!get-bot
!invite-bot
!invitebot
Shows graphs about various stats on this server.
!g
!chart
Argument
Type
Required
Description
Details
type
Yes
The type of chart to display.
Use one of the following values: joins
, joinsAndLeaves
, leaves
from
No
Start date of the chart
to
No
End date of the chart
Display help.
Argument
Type
Required
Description
Details
command
No
The command to get detailed information for.
Use one of the following values: addInvites
, addRank
, ban
, botConfig
, botInfo
, caseDelete
, caseView
, check
, clean
, cleanShort
, cleanText
, clearInvites
, config
, createInvite
, credits
, export
, fixRanks
, getBot
, graph
, help
, info
, interactiveConfig
, inviteCodeConfig
, inviteCodes
, inviteDetails
, invites
, kick
, leaderboard
, lockdown
, memberConfig
, members
, mute
, permissions
, ping
, prefix
, premium
, punishmentConfig
, purge
, purgeUntil
, ranks
, removeInvites
, removeRank
, restoreInvites
, setup
, softBan
, strike
, strikeConfig
, subtractFakes
, subtractLeaves
, support
, tryPremium
, unban
, unhoist
, unmute
, warn
Show info about a specific member.
!showinfo
Argument
Type
Required
Description
Details
user
Yes
The user for whom you want to see additional info.
details
No
Request only specific details about a member.
Use one of the following values: bonus
, members
page
No
What page of the details to show. You can also use the reactions to navigate.
Interactive Config
!ic
Show and change the config of invite codes of the server.
!invite-code-config
!icc
Argument
Type
Required
Description
Details
key
No
The config setting which you want to show/change.
Use one of the following values: name
, roles
inviteCode
No
The invite code for which you want to change the settings.
value
No
The new value of the setting.
Get a list of all your invite codes
!invitecode
!invite-code
!invite-codes
!getinvitecode
!get-invite-code
!get-invite-codes
!showinvitecode
!show-invite-code
Shows details about where your invites are from.
!invite-details
Argument
Type
Required
Description
Details
user
No
The user for whom you want to show detailed invites.
Show personal invites.
!invite
!rank
Argument
Type
Required
Description
Details
user
No
The user for whom you want to show invites.
Kick a member from the server.
Argument
Type
Required
Description
Details
member
Yes
Member to kick.
reason
No
Why the member was kicked.
Show members with most invites.
!top
Argument
Type
Required
Description
Details
page
No
Which page of the leaderboard to get.
Lockdown a specific channel (Prevents anyone without special roles from sending messages)
Argument
Type
Required
Description
Details
channel
No
The channel that you want to lock down.
Flag
Short
Type
Description
‑‑timeout
‑t
The timeout after which the lockdown automatically ends. Run the command again to end the lockdown manually.
Show and change the config of members of the server.
!member-config
!memconf
!mc
Argument
Type
Required
Description
Details
key
No
The member config setting which you want to show/change.
Use one of the following values: hideFromLeaderboard
user
No
The member that the setting is shown/changed for.
value
No
The new value of the setting.
Show member count of current server.
!member
!memberscount
Mute a user
Argument
Type
Required
Description
Details
user
Yes
The user that should be muted.
reason
No
The reason why this user is muted.
Flag
Short
Type
Description
‑‑duration
‑d
The duration to mute the user for
Configure permissions to use commands.
!perms
Argument
Type
Required
Description
Details
cmd
No
The command to configure permissions for.
Use one of the following values: addInvites
, addRank
, ban
, botConfig
, botInfo
, caseDelete
, caseView
, check
, clean
, cleanShort
, cleanText
, clearInvites
, config
, createInvite
, credits
, export
, fixRanks
, getBot
, graph
, help
, info
, interactiveConfig
, inviteCodeConfig
, inviteCodes
, inviteDetails
, invites
, kick
, leaderboard
, lockdown
, memberConfig
, members
, mute
, permissions
, ping
, prefix
, premium
, punishmentConfig
, purge
, purgeUntil
, ranks
, removeInvites
, removeRank
, restoreInvites
, setup
, softBan
, strike
, strikeConfig
, subtractFakes
, subtractLeaves
, support
, tryPremium
, unban
, unhoist
, unmute
, warn
role
No
The role which should be granted or denied access to the command.
Ping the bot
Shows the current prefix of the bot.
Info about premium version of InviteLogger.
!patreon
!donate
Argument
Type
Required
Description
Details
action
No
The action to perform. None for premium info. check
to check your premium status. activate
to use your premium for this server.
Use one of the following values: Activate
, Check
, Deactivate
Configure punishments when reaching a certain amount of strikes.
!punishment-config
Argument
Type
Required
Description
Details
punishment
No
Type of punishment to use.
Use one of the following values: ban
, kick
, mute
, softban
, warn
strikes
No
Number of strikes for this punishment to be used.
args
No
Arguments passed to the punishment.
Purge messages in a channel.
!prune
Argument
Type
Required
Description
Details
quantity
Yes
How many messages should be deleted.
user
No
User whose messages are deleted.
Purge messages in a channel up until a specified message.
!purge-until
!prune-until
!pruneu
!purgeu
Argument
Type
Required
Description
Details
messageID
Yes
Last message ID to be deleted.
Show all ranks.
!show-ranks
!showranks
Argument
Type
Required
Description
Details
page
No
The page of the ranks list to show.
Removes a specified amount of invites from a user.
!remove-invites
Argument
Type
Required
Description
Details
user
Yes
The user to remove the invites from.
amount
Yes
The amount of invites to remove.
reason
No
The reason for removing the invites.
Remove a rank.
!remove-rank
Argument
Type
Required
Description
Details
rank
Yes
The for which you want to remove the rank.
Restore all previously cleared invites.
!restore-invites
!unclear-invites
!unclearinvites
Argument
Type
Required
Description
Details
user
No
The user to restore all invites to. If omitted restores invites for all users.
Help with setting up the bot and checking for problems (e.g. missing permissions)
!guide
!test
!testbot
!test-bot
Ban and then automatically unban a member from the server.
!soft-ban
Argument
Type
Required
Description
Details
user
Yes
User to ban.
reason
No
Why was the user banned.
Flag
Short
Type
Description
‑‑deleteMessageDays
‑d
Delete messages from the user this many days back.
Add strikes to a user
Argument
Type
Required
Description
Details
member
Yes
The member receiving the strikes
type
Yes
The type of the violation
Use one of the following values: allCaps
, duplicateText
, emojis
, hoist
, invites
, links
, mentionRoles
, mentionUsers
, quickMessages
, words
amount
Yes
The amount of strikes to be added
Configure strikes received for various violations.
!strike-config
Argument
Type
Required
Description
Details
violation
No
Violation type.
Use one of the following values: allCaps
, duplicateText
, emojis
, hoist
, invites
, links
, mentionRoles
, mentionUsers
, quickMessages
, words
strikes
No
Number of strikes.
Remove fake invites from all users.
!subtract-fakes
!subfakes
!sf
Remove leaves from all users
!subtract-leaves
!subleaves
!sl
Get an invite link to our support server.
Try the premium version of InviteLogger for free for a limited duration.
!try
!try-premium
Unban a user
Argument
Type
Required
Description
Details
user
Yes
The user that should be unbanned.
reason
No
The reason why this user is unbanned.
Add a character in front of all members with a special character in front of their name, so they will be shown at the end of the member list.
!dehoist
Unmute a user
Argument
Type
Required
Description
Details
user
Yes
The user that should be unmuted.
Warn a member.
Argument
Type
Required
Description
Details
member
Yes
Member to warn.
reason
No
Why was the member was warned.