mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add an e to fix a typo in math lol
This commit is contained in:
@@ -21,7 +21,7 @@ class MathCommand extends commando.Command {
|
||||
let messagecontent = message.content.split(" ").slice(1).join(" ");
|
||||
try {
|
||||
let solved = math.eval(messagecontent);
|
||||
message.channel.sendMessage(solved).catch(error => message.channel.sendMessage(":x: Error! Invalid statment!"));
|
||||
message.channel.sendMessage(solved).catch(error => message.channel.sendMessage(":x: Error! Invalid statement!"));
|
||||
} catch(err) {
|
||||
message.channel.sendMessage(":x: Error! Invalid statement!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user