ChanServ
This article covers the Discord bot. For the IRC service the name is based on, see the Wikipedia entry for ChanServ.
ChanServ is a Discord bot for the Rory & Lorelai Fanclub, and is the main moderation and only bot with full administrator permissions on the server. Its code is open source on GitHub, and is programmed primarily by Chew.
Much like the fanclub itself, ChanServ's commands are inspired by IRC. It utilizes slash commands, which means you run commands by typing /
and all of the commands will show up. The slash command behavior is not unlike IRC; however, there are suggestions, which aren't present in most IRC clients.
Commands
ChanServ's commands are primarily based on IRC, in terms of arguments, command name, and permissions. Roles correspond to roles of the same name on the fanclub server.
Command | Minimum Role | Permissions |
---|---|---|
/admin [user] |
Owner | Marks a user as admin (+a). |
/halfop [user] |
Op | Marks a user as half-op (+h). |
/kick [user] (reason) |
Half-op | Kicks a user from the server with an optional specified reason. |
/mode [user] [mode] |
Admin | Changes a specified user's modes. |
/op [user] |
Admin | Marks a user as op (+o). |
/owner [user] |
Oper | Marks a user as owner (+q). |
/quote (user) |
Any | Returns a random quote, or a specific user's quote if specified. |
/randomcolor |
Any | Allows a user to change their role color. It has a cooldown of 1 hour for all members, and 1 minute for server boosters. |
/rank |
Any | Much like /umode , but only shows your highest rank.
|
/reason [case] [reason] |
Half-op | Changes the reason for a specific Audit Log entry. |
/shutdown |
Owner | Shuts down the bot. |
/topic [new topic] |
Half-op | Changes a channel's topic. |
/umode |
Any | Returns a list of your "user modes." |
/uwustats |
Any | Gathers the leaderboard of "uwus" in the #uwu channel. |
/voice [user] |
Half-op | Marks a user as voiced (+v). |
History
ChanServ initially started as a bot written in Ruby using the discordrb API library and was initially private.[1] It was left private because the code contained the bot token.[2]
It was made public and was re-written in Java on September 29th, 2020.[3]
References
- ↑ base file by Chew in Chew/ChanServ
@
d830bff
- ↑ Message in #news regarding the repository's visibility.
- ↑ Rewrite files by Chew in Chew/ChanServ
@
d8e1469