ChanServ: Difference between revisions

From ChewWiki
Jump to navigation Jump to search
m update categories
Tag: 2017 source edit
clean up some formatting and use wikipedia link/github repo url templates
 
Line 1: Line 1:
''This article covers the bot for the [[Rory Fanclub (Discord Server)|Rory Fanclub Discord Server]]. For the IRC service the name is based on, see [[wikipedia:IRC_services#ChanServ|ChanServ on Wikipedia]]''
''This article covers the Discord bot. For the IRC service the name is based on, see the Wikipedia entry for {{Wikipedia link|ChanServ}}''.


ChanServ is a Discord bot for the [[Rory Fanclub (Discord Server)|Rory Fanclub Discord server]]. Its code is open source on [https://github.com/Chew/ChanServ GitHub], and is programmed primarily by [[Chew]].
ChanServ is a Discord bot for the [[Rory & Lorelai Fanclub (Discord server)|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]].


== Information ==
Much like the fanclub itself, ChanServ's commands are inspired by IRC. It utilizes slash commands, which means you run commands by typing <code>/</code> 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.
 
ChanServ is the main moderation and only admin bot on the server. Its commands, much like the server, are inspired by IRC. It utilizes slash commands, which means you run commands by typing <code>/</code> 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 ==
== Commands ==


ChanServ's commands are primarily based on IRC, in terms of arguments, command name, and permissions.
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.


{| class="wikitable sortable"
{| class="wikitable sortable"
Line 49: Line 47:
== History ==
== History ==


ChanServ initially started as a bot written in [[wikipedia:Ruby (programming language)|Ruby]] using the discordrb API library and was initially private.<ref>{{Cite GitHub|url=https://github.com/Chew/ChanServ/commit/d830bffefd8b63bfcf52cdb3f990672bde4e9f78|title=base file|author=Chew|org=Chew|repo=ChanServ|type=commit|commit=d830bff}}</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>
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|url=https://github.com/Chew/ChanServ/commit/d830bffefd8b63bfcf52cdb3f990672bde4e9f78|title=base file|author=Chew|org=Chew|repo=ChanServ|type=commit|commit=d830bff}}</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:Java (programming language)|Java]] on September 29th, 2020.<ref>{{Cite GitHub|url=https://github.com/Chew/ChanServ/commit/d8e146944e03466b83d0be5a42351bed2bdbbf6c|title=Rewrite files|author=Chew|org=Chew|repo=ChanServ|type=commit|commit=d8e1469}}</ref>
It was made public and was re-written in {{Wikipedia link|Java (programming language)|Java}} on September 29th, 2020.<ref>{{Cite GitHub|url=https://github.com/Chew/ChanServ/commit/d8e146944e03466b83d0be5a42351bed2bdbbf6c|title=Rewrite files|author=Chew|org=Chew|repo=ChanServ|type=commit|commit=d8e1469}}</ref>


== References ==
== References ==


<references />
<references />
== External links ==
* {{GitHub Repo URL|Chew|ChanServ}}
[[Category:Discord Bots]]
[[Category:Discord Bots]]
[[Category:Software written in Java]]
[[Category:Software written in Java]]
[[Category:Software written by Chew]]
[[Category:Software written by Chew]]

Latest revision as of 03:30, 31 December 2024

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.

ChanServ commands
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

  1. base file by Chew in Chew/ChanServ @ d830bff
  2. Message in #news regarding the repository's visibility.
  3. Rewrite files by Chew in Chew/ChanServ @ d8e1469

External links