More uniform group names

This commit is contained in:
Dragon Fire
2020-04-09 14:37:24 -04:00
parent 35970740e3
commit 2bf570f3d2
139 changed files with 154 additions and 154 deletions
@@ -0,0 +1,24 @@
const Command = require('../../structures/Command');
module.exports = class ScientificNotationCommand extends Command {
constructor(client) {
super(client, {
name: 'scientific-notation',
aliases: ['science-notation', 'exponential-notation'],
group: 'edit-number',
memberName: 'scientific-notation',
description: 'Converts a number to scientific notation.',
args: [
{
key: 'number',
prompt: 'What number do you want to convert to scientific notation?',
type: 'float'
}
]
});
}
run(msg, { number }) {
return msg.reply(number.toExponential());
}
};