Skip to content
This repository was archived by the owner on Nov 21, 2022. It is now read-only.

Server: Management

ComputerMaster1st edited this page Jan 22, 2021 · 3 revisions

Server Management

Server management comes with various commands which can help you with different tasks. This does also contain configuration related commands.


rgserver leave

Railgun shall leave the server. This command requires the user to have the Manage Guild permission.


rgserver clear <number>

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.


rgserver id

Post the server id. This command requires the user to have the Manage Guild permission.


rgserver kick <@mention> [reason]

Kick the mentioned user from the server. The reason is optional. This command requires both Railgun & the user to have the Kick Members permission.


rgserver ban <@mention> [reason]

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.


rgserver unban <user id>

Unban the user from the server. This command requires both Railgun & the user to have the Ban Members permission.


rgserver banlist

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.