Code Cleanup

This commit is contained in:
Robert 2020-01-08 02:26:36 +01:00
parent d2622e25e8
commit fa34f8510d
13 changed files with 98 additions and 50 deletions

View file

@ -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