Math command
,sumofcubes
Math — sum of cubes.
Everyone can use it
Cooldown
2s
per member, per server
Aliases
1
sumcube
Subcommands
0
none — one call does it
How to use it
Type it in any channel where the bot can read messages. The prefix is , on this server and can be changed with ,prefixes.
Syntax
,sumofcubes <numbers>
Examples
,sumofcubes 12 30Arguments
Square brackets are optional, angle brackets are required — the same legend ,help sumofcubes prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
numbers | required | a value for this command |
Before you run it
What the command itself checks before it does anything, read from the src/commands/math/sumofcubes.js source.
- Permissions
- No Discord permission flag is read directly — access goes through the bot's own rules
- Reads
- only your message arguments
- Replies with
- a plain message
- Cooldown
- 2s per member, per server
In Discord
What a member sees when they run it. The reply is sent as a Components V2 panel on the server's accent colour, paginated when it is long.
M
,sumofcubes 12 30
B
Math — sum of cubes.
Related
More math commands
Commands that usually get used alongside ,sumofcubes.
,sumofsquaresMathMath — sum of squares.aliases: so, sumo,absoluteMathAbsolute value of a number.aliases: abso, ao,addMathAdd numbers together.aliases: addx,angleofclockMathMath — clock angle.aliases: ang, angl,armstrongMathMath — armstrong number.aliases: arm, arms,baseconvertMathConvert a number between bases 2-36.aliases: bas, base
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.