errbotio / err-backend-discord

Backend for Discord for Errbot
GNU General Public License v3.0
23 stars 22 forks source link

Can´t find Discord plugin #57

Closed futex closed 1 year ago

futex commented 1 year ago

Hello,

I have installed discord plugin in my python ven pip3 list | grep -i err err-backend-discord 4.0.0 errbot 6.1.9 discord.py 2.0.1 And configure the config.py as expected after the errbot --init BACKEND = "Discord"

But when i start errbot it didn't find the discord plugin errbot.backend_plugin_manager.PluginNotFoundException: Could not find the plugin named Discord in ....

futex commented 1 year ago

I found the solution, it miss one thing in the tutorial : https://err-backend-discord.readthedocs.io/en/master/configuration.html In the config.py you should add this line: BOT_EXTRA_BACKEND_DIR = '/path_to/err-backend-discord'

A semi colon is also missing at initial_intents end of line BOT_IDENTITY = { "token": "<bot_token>", "initial_intents": "<initial_intent_state>" "intents": [] }

nzlosh commented 1 year ago

Good to see the documentation got you moving forward. A fix to find plugins installed via pip was added to errbot master but it hasn't been released as yet, so BOT_EXTRA_BACKEND_DIR shouldn't be necessary with the next release of errbot.