Update parameter names
This commit is contained in:
parent
db5c9f4f55
commit
fc0235a1ce
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ module.exports = {
|
|||
|
||||
name: 'eval',
|
||||
description: 'Executes JS code',
|
||||
async execute(client, message, args, config) {
|
||||
async execute(_, message, args, config) {
|
||||
if (message.author.id == config.ownerID) {
|
||||
try {
|
||||
const code = args.join(" ");
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = {
|
||||
name: 'restart',
|
||||
description: 'Restarts the bot',
|
||||
async execute(client, message, args, config) {
|
||||
async execute(client, message, _, config) {
|
||||
if (message.author.id == config.ownerID) {
|
||||
console.log("Anitrox is restarting now!")
|
||||
await message.channel.send("<a:NyabotWorking:697147309531594843> Restarting...")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = {
|
||||
name: "stop",
|
||||
description: "IT'S TIME TO STOP!... the bot",
|
||||
async execute(_, message, args, config) {
|
||||
async execute(_0, message, _1, config) {
|
||||
if (message.author.id == config.ownerID) {
|
||||
await message.channel.send({embed: {
|
||||
"title": "<a:AnitroxWorking:697147309531594843> **Shutting Down...**",
|
||||
|
|
Reference in a new issue