mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 02:35:27 +00:00
Fix DM API token retrieval
This commit is contained in:
parent
9acc3c6414
commit
afb289b65a
|
@ -106,8 +106,7 @@ client.on('message', async message => {
|
|||
|
||||
// Don't need to risk exposing the user to the token, so we'll send it in the nonce
|
||||
await message.channel.sendMessage({
|
||||
content: 'Token request granted.',
|
||||
nonce: `${ulid()}; TOKEN:${token}`,
|
||||
content: `Token request granted. **Do not send the content of this message to anyone!**\n$%${token}%$`,
|
||||
replies: [ { id: message._id, mention: false } ],
|
||||
});
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue