DeepBlue/util/checking.py
2020-01-08 02:26:36 +01:00

13 lines
272 B
Python

'''
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) -> bool:
if ctx.message.author.bot:
return False
return True