feat: User#send
This commit is contained in:
parent
718a4658eb
commit
b64bc29fbe
4 changed files with 47 additions and 2 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue