ChanServ: Difference between revisions
clean up some formatting and use wikipedia link/github repo url templates |
m use cite github commit template |
||
Line 47: | Line 47: | ||
== History == | == History == | ||
ChanServ initially started as a bot written in {{Wikipedia link|Ruby (programming language)|Ruby}} using the discordrb API library and was initially private.<ref>{{Cite GitHub | ChanServ initially started as a bot written in {{Wikipedia link|Ruby (programming language)|Ruby}} using the discordrb API library and was initially private.<ref>{{Cite GitHub commit |title=base file |author=Chew |org=Chew |repo=ChanServ |commit=d830bff |date=June 7, 2018}}</ref> It was left private because the code contained the bot token.<ref>[https://canary.discord.com/channels/134445052805120001/134790911598133248/454446534340378664 Message in #news regarding the repository's visibility.]</ref> | ||
It was made public and was re-written in {{Wikipedia link|Java (programming language)|Java}} on September 29th, 2020.<ref>{{Cite GitHub | It was made public and was re-written in {{Wikipedia link|Java (programming language)|Java}} on September 29th, 2020.<ref>{{Cite GitHub commit |title=Rewrite files |author=Chew |org=Chew |repo=ChanServ |commit=d8e1469 |date=September 29, 2020}}</ref> | ||
== References == | == References == |
Revision as of 00:04, 12 January 2025
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
. Committed on June 7, 2018 – via GitHub. - ↑ Message in #news regarding the repository's visibility.
- ↑ "Rewrite files" by Chew in Chew/ChanServ @
d8e1469
. Committed on September 29, 2020 – via GitHub.