Ok, I will do that once I get back to my pc, thank you.
Here is the code with the error, it says the error is at line 38/37
Line 37/38 is Line 1/2 for you guys
And here is the Traceback message in cmd prompt:
"Traceback (most recent call last):
File "C:\Users\Sol\Desktop\Bots on Discord\JayBot\test.py", line 38, in <module>
@bot.commands(pass_context=True)
TypeError: 'dict' object is not callable
Unclosed client session"
FIXED!!!!!! I had but @bot.commands, it is supposed to be @bot.command IT'S NOW FIXED
Here is the code with the error, it says the error is at line 38/37
@bot.commands(pass_context=True) async def cr(ctx, msgId, user: discord.Member): msg = await bot.get_message(ctx.message.channel, msgId) await bot.clear_reactions(msg) await bot.say("A message's reactions have been removed by {}".format(user.name))
Line 37/38 is Line 1/2 for you guys
And here is the Traceback message in cmd prompt:
"Traceback (most recent call last):
File "C:\Users\Sol\Desktop\Bots on Discord\JayBot\test.py", line 38, in <module>
@bot.commands(pass_context=True)
TypeError: 'dict' object is not callable
Unclosed client session"
FIXED!!!!!! I had but @bot.commands, it is supposed to be @bot.command IT'S NOW FIXED