G-eb / pingr

70 stars 45 forks source link

/ping doesn't work #5

Closed CattopyTheWeb closed 1 year ago

CattopyTheWeb commented 1 year ago

when I do /ping I get this error: Traceback (most recent call last): File "/home/container/spam.py", line 32, in <module> @pingr.slash_command(guild_ids=[guildid]) ^^^^^^^^^^^^^^^^^^^ AttributeError: 'Bot' object has no attribute 'slash_command'. Did you mean: 'add_command'?

G-eb commented 1 year ago

you're probably not using py-cord, which is the fork of discord.py that pingr was made with.

CattopyTheWeb commented 1 year ago

Oh

CattopyTheWeb commented 1 year ago

Yeah it was that. Thanks for your help