Compare commits
2 Commits
4fdb233bd6
...
edb786ec04
| Author | SHA1 | Date | |
|---|---|---|---|
| edb786ec04 | |||
| 525904de5a |
4
dist/discord.js
vendored
4
dist/discord.js
vendored
@@ -34,10 +34,6 @@ const commands = [
|
|||||||
name: 'leave',
|
name: 'leave',
|
||||||
description: 'leave the active queue'
|
description: 'leave the active queue'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'stop',
|
|
||||||
description: 'stops the current queue (must have the Manage Messages permission)'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'player',
|
name: 'player',
|
||||||
description: 'display player information',
|
description: 'display player information',
|
||||||
|
|||||||
2
dist/queue.js
vendored
2
dist/queue.js
vendored
@@ -115,7 +115,7 @@ var QueueCommands;
|
|||||||
function getInfo(interaction) {
|
function getInfo(interaction) {
|
||||||
let info = QUEUE.get(interaction.channelId);
|
let info = QUEUE.get(interaction.channelId);
|
||||||
if (!info)
|
if (!info)
|
||||||
throw (0, util_1.emsg)('There is not an active queue in this channel, type `/queue` to create one');
|
throw (0, util_1.emsg)('There is not an active queue in this channel, type `/open` to create one');
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -33,10 +33,6 @@ const commands = [
|
|||||||
name: 'leave',
|
name: 'leave',
|
||||||
description: 'leave the active queue'
|
description: 'leave the active queue'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'stop',
|
|
||||||
description: 'stops the current queue (must have the Manage Messages permission)'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'player',
|
name: 'player',
|
||||||
description: 'display player information',
|
description: 'display player information',
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ export namespace QueueCommands {
|
|||||||
let info = QUEUE.get(interaction.channelId);
|
let info = QUEUE.get(interaction.channelId);
|
||||||
|
|
||||||
if (!info)
|
if (!info)
|
||||||
throw emsg('There is not an active queue in this channel, type `/queue` to create one');
|
throw emsg('There is not an active queue in this channel, type `/open` to create one');
|
||||||
|
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user