feat: User#send

This commit is contained in:
DjDeveloperr 2021-04-30 11:35:19 +05:30
parent 718a4658eb
commit b64bc29fbe
4 changed files with 47 additions and 2 deletions

View file

@ -256,6 +256,11 @@ client.on('messageCreate', async (msg: Message) => {
msg.reply(buf)
} else if (msg.content === '!addrole') {
msg.member?.roles.add('837255383759716362')
} else if (msg.content === '!dm') {
console.log('wtf')
msg.author.send('UwU').then((m) => {
msg.reply(`Done, ${m.id}`)
})
} else if (msg.content === '!timer') {
msg.channel.send('3...').then((msg) => {
setTimeout(() => {