2020-01-08 02:26:36 +01:00
|
|
|
'''
|
|
|
|
This module will provide permission checks
|
|
|
|
for the command executions.
|
|
|
|
'''
|
|
|
|
|
2020-01-07 18:04:00 +01:00
|
|
|
import discord
|
|
|
|
from discord.ext import commands
|
|
|
|
from util import logging
|
|
|
|
|
2020-01-08 02:26:36 +01:00
|
|
|
def is_author_bot(ctx : commands.Context) -> bool:
|
2020-01-07 18:04:00 +01:00
|
|
|
if ctx.message.author.bot:
|
|
|
|
return False
|
|
|
|
return True
|