@ -110,7 +108,7 @@ class EssentialCommands(commands.Cog):
embed=discord.Embed(description=f"You have given {reputation_type} reputation to {user.mention} with the comment: {comment}",title="You have given reputation.")
embed=discord.Embed(description=f"You have given {reputation_type} reputation to {user.mention} with the comment: {comment}",title="You have given reputation.")
awaitmessage.channel.send(embed=embed)
awaitmessage.channel.send(embed=embed)
@commands.slash_command()
@commands.slash_command(guild_ids=guild_ids)
asyncdefreputation(self,ctx,user:discord.User):
asyncdefreputation(self,ctx,user:discord.User):
# load the reputation data from the TOML file
# load the reputation data from the TOML file
try:
try:
@ -157,6 +155,7 @@ class EssentialCommands(commands.Cog):
return0
return0
awaitctx.respond('Pong!')
awaitctx.respond('Pong!')
@commands.slash_command(guild_ids=guild_ids)
@commands.slash_command(guild_ids=guild_ids)
@option('msg',description="The message to say.")
@option('msg',description="The message to say.")
asyncdefsay(self,ctx,message):
asyncdefsay(self,ctx,message):
@ -322,7 +321,7 @@ class EssentialCommands(commands.Cog):
atr=getattr(discord.Color,color)
atr=getattr(discord.Color,color)
embed.color=atr()
embed.color=atr()
exceptExceptionase:
exceptExceptionase:
bot.api.logger("inf",f"Command ivoked a error wrong color: {e}")
self.bot.api.logger("inf",f"Command ivoked a error wrong color: {e}")