-
Notifications
You must be signed in to change notification settings - Fork 2
Server: Management
Server management comes with various commands which can help you with different tasks. This does also contain configuration related commands.
- Leave The Server/Guild
- Clear A Channel
- Show Server Id
- Kick A User
- Ban A User
- Unban A User
- List All Banned Users
Railgun shall leave the server. This command requires the user to have the Manage Guild
permission.
Delete a number of messages from the channel. This command requires both Railgun & the user to have the Manage Messages
& Read Message History
permissions. Please note, only messages under 14 days old will be deleted. This is a limit imposed by Discord if I remember correctly. If you're looking to remove all messages from the channel, the easiest solution would be to just clone the channel and delete the old.
Post the server id. This command requires the user to have the Manage Guild
permission.
Kick the mentioned user from the server. The reason is optional. This command requires both Railgun & the user to have the Kick Members
permission.
Ban the mentioned user from the server. The reason is optional. Banning the user will also purge all messages from the user within a 7 day period. This command requires both Railgun & the user to have the Ban Members
permission.
Unban the user from the server. This command requires both Railgun & the user to have the Ban Members
permission.
Produce a list of all banned users & their IDs. This command requires both Railgun & the user to have the Ban Members
permission & Attach Files
permission for Railgun.