fuck me
This commit is contained in:
parent
d62f8882d0
commit
284343f156
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ let commands: Command[];
|
||||||
!msg.channel?.server) return;
|
!msg.channel?.server) return;
|
||||||
|
|
||||||
if (!msg.member) await msg.channel.server.fetchMember(msg.author_id);
|
if (!msg.member) await msg.channel.server.fetchMember(msg.author_id);
|
||||||
|
if (msg.author?.bot) return;
|
||||||
|
|
||||||
// If we can't reply to the message, return
|
// If we can't reply to the message, return
|
||||||
if (!hasPermForChannel(await getOwnMemberInServer(msg.channel.server), msg.channel, 'SendMessage')) {
|
if (!hasPermForChannel(await getOwnMemberInServer(msg.channel.server), msg.channel, 'SendMessage')) {
|
||||||
|
|
Loading…
Reference in a new issue