A bot for the CSS Discord Server, written in C# using Discord.Net.
View the Project on GitHub Chris-Johnston/CSSBot
Counter Service HelpThe counter service is a service that checks messages to see if they contain a certain phrase, and increments a counter. It is very much unused and I should probably kill it off.
All commands for this service are in the group Counter
, that is aliased by C
. This means that instead of typing
?Counter MakeCounter <name>
, you can type
?C MakeCounter <name>
.
Requires the user permission to Manage Channels.
Makes a new counter if it doesn’t already exist.
Aliases:
MakeCounter
NewCounter
Make
New
Parameters:
"
double quotes. Emojis should work, but YMMV.Example: ?C MakeCounter name
, ?C MakeCounter "this has spaces"
Increments the counter, if it exists, by 1.
Aliases:
Increment
+
Add
Plus
Tally
Tick
Parameters:
Example: ?C + name
, ?c add "this has spaces"
See the increment command. Does the same, but subtracts 1 from the value.
Aliases:
Decrement
-
Subtract
Minus
Untick
Parameters:
Example: ?C - name
, ?c subtract "this has spaces"
Requires the user permission to Manage Channels.
Deletes counters that match the counter text, if any match.
Aliases:
Delete
Remove
Parameters:
Example: ?c delete name
, ?c remove "this has spaces"
Lists all of the counters in the current channel.
Aliases:
ListChannel
List
Channel
Example: ?c list
Lists all of the counters in the current guild.
Aliases:
ListGuild
Guild
ListServer
Server
Example: ?c guild
Sets the value of the counter.
Parameters:
Aliases:
Set
SetCounter
Example: ?c set name 999
, ?c setcounter "spaces lol" -1