forked from engineering/cloudservices
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices
commit
86fb5a7dee
|
@ -28,7 +28,7 @@ export default class DeleteAccount extends Command {
|
|||
try {
|
||||
await this.client.util.messageCollector(message,
|
||||
`***Please confirm that you are permanently deleting ${username}'s account by entering ${verify}. This action cannot be reversed.***`,
|
||||
15000, true, [verify], (msg) => !(msg.author.id === message.author.id));
|
||||
15000, true, [verify], (msg) => msg.author.id === message.author.id);
|
||||
} catch (error) {
|
||||
if (error.message.includes('Did not supply')) return message;
|
||||
throw error;
|
||||
|
|
Loading…
Reference in New Issue