These are some commands, some useful, some less so, but mostly for nerds.
+showcolour
[5/20s]
This command takes 1 or many colours and produces an image showing you what those colours are.
For single colours, the command can take a named colour
+showcolour 'name'
+showcolour '#RRGGBB' [...]
+colourname
[5/20s]
This command scans the xkcd colour chart
and finds the closest named colour to a given value.
It also shows how close the two values are.
+colourname '#RRGGBB'
+mycol
newcol
role colour"
In +welcome for role=newcol, instead of being given a
purely random colour, you'll be given a colour that is determined from your account's ID.
The general gist of it is that a colour can be generated from the digits in a Unix timestamp,
and Discord IDs use whats called "snowflake" meaning your ID is directly derived from when your account was created.
time ← member.created_at.as_unix_time |
timestamp ← time.to_hex |
digits ← timestamp.pad_left(with=0, to=10).toarray // Gets a 10 digit number |
indexes ← time.substr(start=time.length - 6, end=6) // Gets the last 6 digits |
output ← "" |
for each number in indexes |
output ← output + digits[number] |
endfor |
+mycol
+brainfuck
Brainfuck is an esoteric programming language
that uses only 8 different symbols to code with.
Brainfuck uses a (theoretically) infinitely length tape with a pointer on one end.
The cell under the pointer can be incremented, decremented or printed.
Here is a reference sheet:
>
Move the pointer right.
<
Move the pointer left.
+
Increment the value at the pointer.
-
Decrement the value at the pointer.
[
Skip to the matching ]
if the value at the pointer is 0.
]
Jump back to the matching [
.
.
Copy the value at the pointer to the output stream.
,
Copy the next letter from the input stream into the cell at the pointer.
+brainfuck 'code' ['input']
+brainfuck ref
+xsend
This sends an embedded message into a different channel on the server.
By default, a user can only xsend to a channel they can both see and send to.
Adding allow xsend
to the channel topic will remove the second
restriction, meaning the member only has to see the channel.
Reminder since this comes up a lot. You can use +toggle
to disable this command.
+xsend 'channel' 'message' ['#RRGGBB']
+scale
[1/60s]This command posts a number of stats about the bot and some relevant comparisons
Usage:+scale
+do
[Buds] [1/10s]
This command repeats a different command a given number of times.
With regards to ratelimits, logging, stats and spamlimits.
+do 'count' 'command'
<user> +do 6 random number 10 |
<42> 7 |
<42> 10 |
<42> 3 |
<42> 9 |
<42> 4 |
<42> This command has a ratelimit that you have already reached. |
+irc
[3/30s]
This command fetches a random IRC chatlog from bash.org.
The log will always be less than 2000 characters and will always have a positive score.
This command may return some questionable results. squas and the bot will not be held responsible for what is pulled.
+irc
+colourstats
[Server Admin]Gets the number of members in each colourme. This doesn't count the members true colour, just their colourme role.
Usage:+colourstats