Commands
All available CalcBot commands (auto generated)

c-about

View information about CalcBot.
    Shorthand: c-about
    Aliases: about

c-admin

A set of commands only accessible to server admins.
    Shorthand: c-adm
    Aliases: admin, adm

c-admin channellist

Admin only
Display all text channels and whether they are enabled or disabled.
    Shorthand: c-adm cl
    Aliases: channellist, cl

c-admin cleardeleted

Admin only
Remove the specified amount of deleted messages stored with c-recollect deleted. The oldest messages are deleted, retaining the newest ones.
    Shorthand: c-adm cd
    Aliases: cleardeleted, cd
    Syntax:
      c-admin cleardeleted <amount>
Examples:
1
c-admin cleardeleted 2
Copied!

c-admin clearedited

Admin only
Remove the specified amount of edited messages stored with c-recollect edited. The oldest messages are deleted, retaining the newest ones.
    Shorthand: c-adm ce
    Aliases: clearedited, ce
    Syntax:
      c-admin clearedited <amount>
Examples:
1
c-admin clearedited 2
Copied!

c-admin customratio

Admin only
Create server-wide custom ratios for the unit conversion calculator. If there are collisions between user and server custom ratios, the user ratios will be used first.
    Shorthand: c-adm c
    Aliases: customratio, custom, cus, cr, c

c-admin customratio add

Add a sever-wide custom ratio. View examples of custom ratios with c-unitconvert customratio.
    Shorthand: c-adm c a
    Aliases: add, define, def, a
    Syntax:
      c-admin customratio add <quantity> <ratio>
Examples:
1
c-admin customratio add 1.008 g:H/mol
Copied!

c-admin customratio delete

Remove a previously added sever-wide custom ratio.
    Shorthand: c-adm c d
    Aliases: delete, del, d
    Syntax:
      c-admin customratio delete <quantity> <ratio>
Examples:
1
c-admin customratio delete 1.008 g:H/mol
Copied!

c-admin customratio edit

Replace an existing server-wide custom ratio with another.
    Shorthand: c-adm c e
    Aliases: edit, e
    Syntax:
      c-admin customratio edit <quantity> <ratio> <new quantity> <new ratio>
Examples:
1
c-admin customratio edit 1.008 g:H/mol 2.016 g:H2/mol
Copied!

c-admin customratio view

Display all server-wide custom ratios.
    Shorthand: c-adm c l
    Aliases: view, list, v, l

c-admin disablechannel

Admin only
Set the specified text channels to disabled status, preventing CalcBot from sending messages in that channel. Type all to disable all channels (except for this one).
    Shorthand: c-adm dc
    Aliases: disablechannel, disablech, dc
    Syntax:
      c-admin disablechannel all
      c-admin disablechannel <channel name | channel id>...
Examples:
1
c-admin disablechannel all
2
c-admin disablechannel #general
Copied!

c-admin enablechannel

Admin only
Set the specified text channels to enabled status, allowing CalcBot to send messages in that channel. Type all to enable all channels.
    Shorthand: c-adm ec
    Aliases: enablechannel, enablech, ec
    Syntax:
      c-admin enablechannel all
      c-admin enablechannel <channel name | channel id>...
Examples:
1
c-admin enablechannel all
2
c-admin enablechannel #general
Copied!

c-admin markchannel

Admin only
Mark the specified text channels. Marked channels will be tracked for message deletions and edits for the c-recollect commands.
Note that all channels are unmarked by default.
    Shorthand: c-adm mc
    Aliases: markchannel, markch, mc
    Syntax:
      c-admin markchannel all
      c-admin markchannel <channel name | channel id>...
Examples:
1
c-admin markchannel all
2
c-admin markchannel #general
Copied!

c-admin setprefix

Admin only
Set the bot's prefix used to call commands. (default c-)
This server's prefix: c-
    Shorthand: c-adm sp
    Aliases: setprefix, setp, sp
    Syntax:
      c-admin setprefix <prefix>
Examples:
1
c-admin setprefix c-
Copied!

c-admin unmarkchannel

Admin only
Unmark the specified text channels. Unmarked channels will not be tracked for message deletions and edits for the c-recollect commands.
Note that all channels are unmarked by default.
    Shorthand: c-adm uc
    Aliases: unmarkchannel, unmarkch, um, uc
    Syntax:
      c-admin unmarkchannel all
      c-admin unmarkchannel <channel name | channel id>...
Examples:
1
c-admin unmarkchannel all
2
c-admin unmarkchannel #general
Copied!

c-anonreport

This command functions the same as c-report, however your username will not be displayed in the #c-report channel on my support server.
    Shorthand: c-are
    Aliases: anonreport, anonrep, arp, are
    Syntax:
      c-anonreport <message>
Examples:
1
c-anonreport improve matrices
Copied!

c-bar

Use this module to create bar graphs. Use c-bar quick to quickly draw a graph with multiple columns, however these graphs will not be saved. Use c-bar create to create permanent bar graphs with additional options, such as showing extra analytic columns.
Note that the trigonometric functions are affected by the calculation mode (e.g, radians, degrees) that you set with c-calculate mode.
    Shorthand: c-b
    Aliases: bar, b

c-bar addcolumns

Add the specified columns and amounts, separated by commas, to a bar graph you created with c-bar create. Use c-bar list for a list of graphs that you've created.
    Shorthand: c-b ac
    Aliases: addcolumns, addcol, ac
    Syntax:
      c-bar addcolumns <graph id> <column name> : <amount>...
Examples:
1
c-bar addcolumns 1 new column : 5
2
c-bar addcolumns 1 new column : 5, new column 2 : 5*2
Copied!

c-bar axes

Set the x-axis and y-axis names of a bar graph you created with c-bar create. If you would like to only provide a name for the y-axis, simply ignore the <x axis name> argument. Use c-bar list for a list of graphs that you've created.
    Shorthand: c-b axe
    Aliases: axes, axe
    Syntax:
      c-bar axes <graph id> <x axis name>[, <y axis name>]
Examples:
1
c-bar axes 1 x axis column, y axis column
2
c-bar axes 1 only x axis
3
c-bar axes 1 , only y axis
Copied!

c-bar clearcolumns

Remove the specified columns, separated by commas, from a bar graph you created with c-bar create. Column names are case-insensitive. CalcBot will ignore any nonexistent columns if you enter any. Use c-bar list for a list of graphs that you've created. To clear all columns from a graph, type all for the <column names>... argument.
    Shorthand: c-b cc
    Aliases: clearcolumns, clearcol, cc
    Syntax:
      c-bar clearcolumns <graph id> <column names>...
Examples:
1
c-bar clearcolumns 1 column name, column name 2
Copied!

c-bar create

Create a new bar graph with the specified initial column(s) and amount(s). You may enter multiple columns and amounts separated by commas.
    Shorthand: c-b a
    Aliases: create, init, add, cr, i, a
    Syntax:
      c-bar create <initial column> : <initial amount>...
Examples:
1
c-bar create column name : 500
2
c-bar create x : 0.5, y : 2
Copied!

c-bar delete

Remove a graph you created with c-bar create. Use c-bar list for a list of graphs that you've created.
    Shorthand: c-b del
    Aliases: delete, del
    Syntax:
      c-bar delete <graph id>
Examples:
1
c-bar delete 1
Copied!

c-bar draw

Render a bar graph you created with c-bar create. Use c-bar list for a list of graphs that you've created.
    Shorthand: c-b d
    Aliases: draw, d
    Syntax:
      c-bar draw <graph id>
Examples:
1
c-bar draw 1
Copied!

c-bar increment

Increment the specified column by <amount> of a bar graph you created with c-bar create. Column names are case-insensitive. Use c-bar list for a list of graphs that you've created.
    Shorthand: c-b inc
    Aliases: increment, incr, inc
    Syntax:
      c-bar increment <graph id> <column name> : <amount>
Examples:
1
c-bar increment 1 column name : pi
Copied!

c-bar list

View a list of bar graphs you created with c-bar create.
    Shorthand: c-b v
    Aliases: list, view, l, v

c-bar option

Change an option of a bar graph you created with c-bar create. The options you can change are:
    showExtras - Add an extra Average and Sum column to your graph during rendering.
    Shorthand: c-b o
    Aliases: option, op, o
    Syntax:
      c-bar option <graph id> <option> <option's new value>
Examples:
1
c-bar option 1 showExtras on
Copied!

c-bar quick

Quickly create a bar graph with multiple columns. You may enter multiple columns and amounts separated by commas.
    Shorthand: c-b q
    Aliases: quick, q
    Syntax:
      c-bar quick <column name> : <column amount>...
Examples:
1
c-bar quick column : 50
2
c-bar quick column 1 : 100, column 2 : 200
Copied!

c-bar renamecolumn

Rename the specified column from a bar graph you created with c-bar create. Column names are case-insensitive. Use c-bar list for a list of graphs that you've created.
    Shorthand: c-b rc
    Aliases: renamecolumn, renamecol, renc, rc
    Syntax:
      c-bar renamecolumn <graph id> <old column name>, <new column name>
Examples:
1
c-bar renamecolumn 1 old name, new name
Copied!

c-calculate

Evaluates a given expression, like 1 + 1. You can declare variables by typing variablename = [value]. You can find extended documentation for this command here.
    Shorthand: c-c
    Aliases: calculate, calc, c
    Syntax:
      c-calculate <expression>...
Examples:
1
c-calculate 1+1
2
c-calculate x=2
3
c-calculate 5sin(pi/2)
4
c-calculate 6!
5
c-calculate f(x)=x^2+5x+6
6
c-calculate f(2)
7
c-calculate cos'(0)
Copied!

c-calculate arclength

Calculates the arc length of a function / expression in terms of x from x = a to x = b. If the arc length of the expression could not be computed, an estimation will be provided and marked. If the symbolic integral happens to be computed incorrectly, you can force CalcBot to estimate the definite integral by typing force as the first argument.
    Shorthand: c-c al
    Aliases: arclength, arcl, al
    Syntax:
      c-calculate arclength [force] <a> <b> <expression>
Examples:
1
c-calculate arclength 0 4 x*(x-4)
2
c-calculate arclength force 0 4 x*(x-4)
Copied!

c-calculate defintegrate

Calculates the definite integral of an expression. If the integral of the expression could not be computed, an estimation will be provided and marked. If the symbolic integral happens to be computed incorrectly, you can force CalcBot to estimate the definite integral by typing force as the first argument.
    Shorthand: c-c nin
    Aliases: defintegrate, numintegrate, definteg, numinteg, din, nin
    Syntax:
      c-calculate defintegrate [force] <low bound> <high bound> <variable> <expression>
Examples:
1
c-calculate defintegrate 0 5 x x^2
2
c-calculate defintegrate force 0 5 x x^2
Copied!

c-calculate delete

Delete variables and functions defined with c-calculate.
    Shorthand: c-c del
    Aliases: delete, del
    Syntax:
      c-calculate delete <variable | function name>...
Examples:
1
c-calculate delete x
2
c-calculate delete a b
Copied!

c-calculate deleteall

Delete all variables or all functions defined with c-calculate. Type v to delete all variables, and f to delete all custom functions.
    Shorthand: c-c da
    Aliases: deleteall, delall, da
    Syntax:
      c-calculate deleteall [v | f]
Examples:
1
c-calculate deleteall v
2
c-calculate deleteall f
Copied!

c-calculate derivative

Calculates the derivative of a function / expression in terms of x.
    Shorthand: c-c der
    Aliases: derivative, der
    Syntax:
      c-calculate derivative <expression>
Examples:
1
c-calculate derivative x^2
Copied!

c-calculate distancetravelled

Calculates the distance a function / expression in terms of x travels from x = a to x = b.
    Shorthand: c-c dt
    Aliases: distancetravelled, disttravelled, dt
    Syntax:
      c-calculate distancetravelled <a> <b> <expression>
Examples:
1
c-calculate distancetravelled 2 5 sin(x*pi/2)
Copied!

c-calculate expand

Expands a given expression.
    Shorthand: c-c exp
    Aliases: expand, exp
    Syntax:
      c-calculate expand <expression>
Examples:
1
c-calculate expand (3x^2+2y)^5
2
c-calculate expand (x^3-3y^2)^4
Copied!

c-calculate factor

Factors a given expression. Support for multivariate polynomials is currently limited.
    Shorthand: c-c fac
    Aliases: factor, fac
    Syntax:
      c-calculate factor <expression>
Examples:
1
c-calculate factor x^8+x^7+x^4+x^3
2
c-calculate factor 3*a*x+3*a*y+3*b*x+3*b*y
Copied!

c-calculate integral

Calculates the indefinite integral of an expression in terms of x.
    Shorthand: c-c int
    Aliases: integral, int
    Syntax:
      c-calculate integral <expression>
Examples:
1
c-calculate integral x^2
Copied!

c-calculate limit

Estimates the limit of an expression in terms of x as x approaches the value set. This command returns NaN if the limit does not exist. For example, c-calculate limit 1 (x^2-1)/(x-1) estimates the limit of (x^2-1)/(x-1) as x approaches 1, which is 2.
Adding a + or - at the end of the approach argument will change the direction x approaches the value set (see examples).
To approach infinity, type any of the following for the approach argument: infinity, inf, ∞
To input piecewise functions, separate the x conditions and function body with a colon (:). The condition is associated with the next function (see examples, or head here).
    Shorthand: c-c l
    Aliases: limit, lim, l
    Syntax:
      c-calculate limit <approach> <expression>
Examples:
1
c-calculate limit 1 (x^2-1)/(x-1)
2
c-calculate limit 4 (2x^3-128)/(sqrt(x)-2)
3
c-calculate limit pi/4 sin(pi)
4
c-calculate limit -∞ 1/x+5
5
c-calculate limit 0+ 1/x
6
c-calculate limit 0- 1/x
7
c-calculate limit pi 0<=x<=pi : sin(x) : pi<x<=10 : x/pi-1
8
c-calculate limit -3 -7<=x<=-3 : sqrt(7+x) : x>-3 : x^2-5
Copied!

c-calculate mode

View or set the angle calculation mode of the calculator. (default radians)
    Shorthand: c-c mode
    Aliases: mode
Examples:
1
c-calculate mode
2
c-calculate mode r
Copied!

c-calculate newtonmethod

Use the Newton-Raphson method to approximate the roots of a function. This method subtracts the quotient of the expression and its derivative from an initial guess and repeats the process until a sufficiently precise value is reached. Read more about this method here.
The implementation of Newton's Method here iterates this method 10 times. Therefore, the further the guess is to a root, the less accurate the result will be.
    Shorthand: c-c nm
    Aliases: newtonmethod, nm
    Syntax:
      c-calculate newtonmethod <variable> <initial guess> <expression>
Examples:
1
c-calculate newtonmethod x 2 x^2+5x+6
Copied!

c-calculate secantline

Calculates the equation of the secant line that intersects <expression> (in terms of x) at x = <start> and x = <end>.
    Shorthand: c-c sl
    Aliases: secantline, sl
    Syntax:
      c-calculate secantline <start> <end> <expression>
Examples:
1
c-calculate secantline 1 5 0.5^(-x)
2
c-calculate secantline 1 3 2/(x+3)
Copied!

c-calculate secantmethod

Use the secant method to approximate the roots of a function. This method is similar to the Newton-Raphson method, however the derivative is not needed to compute the roots, and thus may be more appropriate for highly complex functions. This method can also be thought of as a finite-difference approximation of the Newton-Raphson method. Read more about this method here.
The implementation of the secant method here iterates this method 10 times. Therefore, the further the guesses are to a root, the less accurate the result will be.
    Shorthand: c-c sm
    Aliases: secantmethod, sm
    Syntax:
      c-calculate secantmethod <variable> <initial x_0> <initial x_1> <expression>
Examples:
1
c-calculate secantmethod x 7 9 x^2+5x+6
Copied!

c-calculate simplify

Simplifies a given expression.
    Shorthand: c-c s
    Aliases: simplify, simp, sim, s
    Syntax:
      c-calculate simplify <expression>
Examples:
1
c-calculate simplify 6x+11x+4y-2y
Copied!

c-calculate solvefor

Attempts to solve for a provided variable in the given expression. This command assumes that the expression given is equal to 0, unless if you specify one yourself (see the examples). Variables and functions are independent of c-calculate.
    Shorthand: c-c sf
    Aliases: solvefor, solvef, sf
    Syntax:
      c-calculate solvefor <variable> <expression | equation>
Examples:
1
c-calculate solvefor x x^2+5x+6
2
c-calculate solvefor y 2y+3=2x
Copied!

c-calculate stats

Computes various descriptive statistics for two or more numbers, including the mean, median, mode, minimum, maximum, and others.
    Shorthand: c-c st
    Aliases: stats, stat, st
    Syntax:
      c-calculate stats <expression | number> <expression | number>...
Examples:
1
c-calculate stats 1 2 4 5
2
c-calculate stats 3*6 11/2 5 5 100/9
3
c-calculate stats 1, 2, 5, 8, 9, 9, 40
Copied!

c-calculate systemequations

Attempts to solve the given system of equations. Variables and functions are independent of c-calculate.
    Shorthand: c-c se
    Aliases: systemequations, systemeqs, syseq, se
    Syntax:
      c-calculate systemequations <equation 1> <equation 2>...
Examples:
1
c-calculate systemequations a+b+c=67 3a-2b=40 c+2a=44
Copied!

c-calculate tangentline

Calculates the equation of the tangent line that intersects <expression> (in terms of x) at x = <at>. If the derivative of <expression> could not be computed, an estimation will be provided and marked.
    Shorthand: c-c tanl
    Aliases: tangentline, tanl
    Syntax:
      c-calculate tangentline <at> <expression>
Examples:
1
c-calculate tangentline 2 x^2
2
c-calculate tangentline 0 (x-4)(x+2)^2
Copied!

c-calculate tofraction

Convert an expression to a fraction, or reduce a fraction to its minimum. Entering the word "mixed" for the mixed argument will show the result in mixed fraction form (if possible). You may specify repeating sections of a result by enclosing it in parenthesis: 0.(142857) = 1/7
    Shorthand: c-c tf
    Aliases: tofraction, tofrac, tf
    Syntax:
      c-calculate tofraction <expression> [mixed]
Examples:
1
c-calculate tofraction 0.15
2
c-calculate tofraction 0.(3)
3
c-calculate tofraction 1.17 mixed
Copied!

c-calculate tolatex

Convert an expression to LaTeX.
    Shorthand: c-c tl
    Aliases: tolatex, tolat, tl
    Syntax:
      c-calculate tolatex <expression>
Examples:
1
c-calculate tolatex sin(root(2, 16) / 4)
Copied!

c-calculate variables

Display all variables and functions defined in c-calculate.
    Shorthand: c-c v
    Aliases: variables, functions, funcs, vars, v

c-chemistry

A module for various calculations related to chemistry.
    Shorthand: c-ch
    Aliases: chemistry, chem, ch

c-chemistry count

Calculates the number of atoms of each element in a compound, given the mass of the compound in grams (g).
    Shorthand: c-ch co
    Aliases: count, cou, co
    Syntax:
      c-chemistry count <mass (grams)> <compound>
Examples:
1
c-chemistry count 12.3 KClO3
2
c-chemistry count 54 Ba(OH)2
Copied!

c-chemistry elementinfo

Displays the properties of an element.
    Shorthand: c-ch ei
    Aliases: elementinfo, eleminfo, einfo, elem, ei
    Syntax:
      c-chemistry elementinfo <element name | symbol | atomic number>
Examples:
1
c-chemistry elementinfo hydrogen
Copied!

c-chemistry lookup

Searches for chemical compounds that match the given constraints.
    Shorthand: c-ch se
    Aliases: lookup, search, look, sear, lo, se
    Syntax:
      c-chemistry lookup <formula | element name | symbol | atomic number>...
Examples:
1
c-chemistry lookup sodium chloride
2
c-chemistry lookup alumin o
3
c-chemistry lookup B
4
c-chemistry lookup acid
Copied!

c-chemistry mass

Calculates the molar mass of a given compound in atomic mass units (grams per mole).
    Shorthand: c-ch ma
    Aliases: mass, ma
    Syntax:
      c-chemistry mass <compound>
Examples:
1
c-chemistry mass H2O
Copied!

c-chemistry oxidation

Calculates the oxidation states of all elements in a given compound.
    Shorthand: c-ch oxi
    Aliases: oxidation, oxi
    Syntax:
      c-chemistry oxidation <compound> [expected charge]
Examples:
1
c-chemistry oxidation NaCl
2
c-chemistry oxidation SO4 -2
Copied!

c-clock

Display the current time and date based on your locale and time zone settings.
    Shorthand: c-cl
    Aliases: clock, cl

c-dictionary

Get the Google Dictionary entry of a word or phrase. You may also provide a language code for the second argument to search that language's dictionary.
Note: CalcBot will not filter profanity or other words that might be considered offensive. Use with caution.
    Shorthand: c-def
    Aliases: dictionary, define, dict, def
    Syntax:
      c-dictionary <word | phrase> [language]
Examples:
1
c-dictionary hello
2
c-dictionary μ•ˆλ…• ko
Copied!

c-factor

A small module for factoring numbers.
    Shorthand: c-fac
    Aliases: factor, fac

c-factor factors

Lists the factors of a number.
    Shorthand: c-fac list
    Aliases: factors, list
    Syntax:
      c-factor factors <number>
Examples:
1
c-factor factors 128
Copied!

c-factor greatestcommonfactor

Finds the greatest common factor of two or more numbers.
    Shorthand: c-fac gcf
    Aliases: greatestcommonfactor, gcf
    Syntax:
      c-factor greatestcommonfactor <number> <number>...
Examples:
1
c-factor greatestcommonfactor 9 81
Copied!

c-factor leastcommonmultiple

Finds the greatest common factor of two or more numbers.
    Shorthand: c-fac lcm
    Aliases: leastcommonmultiple, lcm
    Syntax:
      c-factor leastcommonmultiple <number> <number>...
Examples:
1
c-factor leastcommonmultiple 2 5 11
Copied!

c-factor primefactorization

Calculates the prime factorization of a number.
    Shorthand: c-fac pf
    Aliases: primefactorization, primefac, pf
    Syntax:
      c-factor primefactorization <number>
Examples:
1
c-factor primefactorization 128
Copied!

c-formula

Calculates a value using one of various internally predefined formulas. Running a formula will display a prompt for arguments. Enter each argument one-by-one (expressions supported); to leave an argument 'blank' (i.e. the value that will be calculated), type a non-evaluable expression (ex. idk). Here is a nice GIF showing the process.
For a full list of available formulas, run c-formula list.
    Shorthand: c-fo
    Aliases: formula, fo
    Syntax:
      c-formula <formula id>
Examples:
1
c-formula tlos
Copied!

c-formula list

Show a list of available formulas.
    Shorthand: c-fo l
    Aliases: list, l
    Syntax:
      c-formula list [page num]

c-formula mode

View or set the angle calculation mode of the formula calculator. (default radians)