fix raw response compat
This commit is contained in:
parent
66031d56c2
commit
718a4658eb
2 changed files with 14 additions and 6 deletions
|
@ -254,6 +254,8 @@ client.on('messageCreate', async (msg: Message) => {
|
|||
buf += `\n${role.name === '@everyone' ? 'everyone' : role.name}`
|
||||
}
|
||||
msg.reply(buf)
|
||||
} else if (msg.content === '!addrole') {
|
||||
msg.member?.roles.add('837255383759716362')
|
||||
} else if (msg.content === '!timer') {
|
||||
msg.channel.send('3...').then((msg) => {
|
||||
setTimeout(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue