def anonCheck(self, msg):
if msg.author == self.client.user:
return False
elif msg.channel.id == self.hc.id or msg.channel.id == self.sc.id:
return True
else:
return False
# AskPatch is designed for discord.gg/patchgaming but you may edit it
# for your own personal uses if you like
# the database fields are:
# Single table:
# varchar(20) author, vc(20) id, TIMESTAMP time, TEXT content, BOOL used,
# INT(11)PK entryid, BOOL approved
评论列表
文章目录