j0ack / discirc

mirrored from https://git.joakode.fr/joack/discirc
http://docs.joakode.fr/discirc/
GNU General Public License v3.0
9 stars 8 forks source link

Is this project dead? #23

Open Cheaterman opened 3 years ago

Cheaterman commented 3 years ago

I'm asking because it looks like the discord/discordpy API changed, and this project doesn't reflect it, and doesn't pin dependencies, causing it to fail.

For example:

future: <Task finished coro=<DiscordWrapper.on_irc_message() done, defined at /home/ircbot/.local/lib/python3.7/site-packages/discirc/discord_bot.py:90> exception=AttributeError("'Client' object has no attribute 'send_message'")>
Traceback (most recent call last):
  File "/home/ircbot/.local/lib/python3.7/site-packages/discirc/discord_bot.py", line 112, in on_irc_message
    await self.bot.send_message(target, msg)
AttributeError: 'Client' object has no attribute 'send_message'
Cheaterman commented 3 years ago

Either pin deps to the last "known good" discordpy version, or update the project to the newer API, please. Gonna fix it on my end in the meantime.

j0ack commented 3 years ago

Hello,

Sorry for the delay, I'm not using this bot anymore so i stopped pinning the dependencies version. You can always open a PR and submit some changes it will be reviewed.