Code Cleanup
This commit is contained in:
parent
d2622e25e8
commit
fa34f8510d
13 changed files with 98 additions and 50 deletions
util
|
@ -1,8 +1,13 @@
|
|||
'''
|
||||
This module will provide permission checks
|
||||
for the command executions.
|
||||
'''
|
||||
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
from util import logging
|
||||
|
||||
def is_author_bot(ctx : commands.Context):
|
||||
def is_author_bot(ctx : commands.Context) -> bool:
|
||||
if ctx.message.author.bot:
|
||||
return False
|
||||
return True
|
Loading…
Add table
Add a link
Reference in a new issue