11 lines
236 B
Python
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) |