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:
MakeCounterNewCounterMakeNewParameters:
" 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+AddPlusTallyTickParameters:
Example: ?C + name, ?c add "this has spaces"
See the increment command. Does the same, but subtracts 1 from the value.
Aliases:
Decrement-SubtractMinusUntickParameters:
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:
DeleteRemoveParameters:
Example: ?c delete name, ?c remove "this has spaces"
Lists all of the counters in the current channel.
Aliases:
ListChannelListChannelExample: ?c list
Lists all of the counters in the current guild.
Aliases:
ListGuildGuildListServerServerExample: ?c guild
Sets the value of the counter.
Parameters:
Aliases:
SetSetCounterExample: ?c set name 999, ?c setcounter "spaces lol" -1