Spaces:
Runtime error
Runtime error
Update index.js
Browse files
index.js
CHANGED
|
@@ -72,7 +72,8 @@ const commandsData = [
|
|
| 72 |
{ name: 'sendlink', description: 'Send a match link publicly', options: [{ name: 'link', type: 3, description: 'The link to send', required: true }] },
|
| 73 |
{ name: 'profile', description: 'Generate a custom profile card', options: [{ name: 'user', type: 6, description: 'The user to check', required: false }] },
|
| 74 |
{ name: 'giverole', description: 'Give a role to members (Admin)', options: [{ name: 'role', type: 8, description: 'The role', required: true }] },
|
| 75 |
-
{ name: 'uptime', description: 'Show how long the bot has been online' }
|
|
|
|
| 76 |
];
|
| 77 |
|
| 78 |
client.once('ready', async () => {
|
|
|
|
| 72 |
{ name: 'sendlink', description: 'Send a match link publicly', options: [{ name: 'link', type: 3, description: 'The link to send', required: true }] },
|
| 73 |
{ name: 'profile', description: 'Generate a custom profile card', options: [{ name: 'user', type: 6, description: 'The user to check', required: false }] },
|
| 74 |
{ name: 'giverole', description: 'Give a role to members (Admin)', options: [{ name: 'role', type: 8, description: 'The role', required: true }] },
|
| 75 |
+
{ name: 'uptime', description: 'Show how long the bot has been online' },
|
| 76 |
+
{ name: 'motm', description: 'Award Man of the Match to a player', options: [{ name: 'player', type: 6, description: 'The player to award', required: true }] }
|
| 77 |
];
|
| 78 |
|
| 79 |
client.once('ready', async () => {
|