diff --git a/commands.py b/commands.py index 1dda192..08e9878 100644 --- a/commands.py +++ b/commands.py @@ -1,4 +1,4 @@ -import discord, toml +import discord, toml, os from discord.ext import commands from discord.commands import option @@ -66,6 +66,9 @@ class EssentialCommands(commands.Cog): if message.author in mentioned_users: await message.channel.send("You can't give reputation to yourself.") return + elif message.author.bot: + await message.channel.send("Bots can't give ratings...") + return comment = message.content.split(' ', 2)[2] if len(message.content.split(' ')) > 2 else '' #print(f"Rep for: {mentioned_users}")