DeepBlue/util/checking.py
2020-01-08 17:09:10 +01:00

11 lines
236 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:
return (not ctx.author.bot)