DeepBlue/util/checking.py

8 lines
184 B
Python
Raw Normal View History

2020-01-07 18:04:00 +01:00
import discord
from discord.ext import commands
from util import logging
def is_author_bot(ctx : commands.Context):
if ctx.message.author.bot:
return False
return True