pocc / bga_discord

Discord bot to create games on Board Game Arena
Apache License 2.0
11 stars 5 forks source link

ImportError: cannot import name 'CONTRIBUTORS' from 'keys' #21

Open mavit opened 3 years ago

mavit commented 3 years ago

Recent versions of the bot expect to find an undocumented variable CONTRIBUTORS in src/keys.py. If it's not there, the bot fails to start:

> src/main.py
Traceback (most recent call last):
  File "src/main.py", line 17, in <module>
    from menu_root import trigger_interactive_response
  File "/home/mavit/src/bga_discord/src/menu_root.py", line 10, in <module>
    from cmd_sub_play import ctx_play
  File "/home/mavit/src/bga_discord/src/cmd_sub_play.py", line 6, in <module>
    from cmd_sub_setup import ctx_bga_options_menu, ctx_bga_parse_options
  File "/home/mavit/src/bga_discord/src/cmd_sub_setup.py", line 9, in <module>
    from keys import CONTRIBUTORS
ImportError: cannot import name 'CONTRIBUTORS' from 'keys' (/home/mavit/src/bga_discord/src/keys.py)