AmericanPresidentJimmyCarter / yasd-discord-bot

Yet Another Stable Diffusion Discord Bot
MIT License
112 stars 15 forks source link

AttributeError: 'NoneType' object has no attribute 'id' #2

Closed ThrownLemon closed 1 year ago

ThrownLemon commented 1 year ago

Getting an error after issuing >help command in discord, any ideas?

discord.ext.commands.context.Context object at 0x7f68d61344f0> Command raised an exception: AttributeError: 'NoneType' object has no attribute 'id'

AmericanPresidentJimmyCarter commented 1 year ago

That's strange, the help command is unset so it should just default to the regular help. I just tried >help in my server and got this.

This is a Helper Bot

​No Category:
  help        Shows this message
  image       
  image2image 
  riff        
  upscale     

Type >help command for more info on a command.
You can also type >help category for more info on a category.

If you didn't already, be sure to set the bot to have message and message content permissions.

Screenshot_2022-08-26_08-53-20

In the server itself, ensure that the bot user has the ability to send/receive messages.

ThrownLemon commented 1 year ago

Yeah all the permissions are correct on the bot and the server.

The weird thing is it works on my personal discord server just not on this another server, so maybe there are some conflicting permissions somewhere.

I can use the other commands fine, so not sure why help would be any different other then maybe it uses embeds?

AmericanPresidentJimmyCarter commented 1 year ago

That is very strange, I have no idea. If you figure it out later let me know.

ThrownLemon commented 1 year ago

no longer an issue latest version