0|abc_bot | import interactions
0|abc_bot | Traceback (most recent call last):
0|abc_bot | File "/home/abc/code/discord/abc_bot_prod.py", line 24, in <module>
0|abc_bot | from interactions import Client, Intents, listen, slash_command, SlashContext, SlashCommandChoice, StringSelectMenu, StringSelectOption, ComponentContext, OptionType, slash_option, User, check, BaseContext, Embed, Task, IntervalTrigger, ChannelType, TimeTrigger
0|abc_bot | ImportError: cannot import name 'listen' from 'interactions' (/home/abc/.local/lib/python3.9/site-packages/interactions/__init__.py)
PM2 | App [abc_bot:0] exited with code [1] via signal [SIGINT]
PM2 | Script /home/abc/code/discord/abc_bot_prod.py had too many unstable restarts (16). Stopped. "errored"
^C
abc@SN-E5-80:~$ python --version
Python 3.10.3
abc@SN-E5-80:~$ pip --version
pip 22.0.4 from /home/abc/.pyenv/versions/3.10.3/lib/python3.10/site-packages/pip (python 3.10)
abc@SN-E5-80:~$ pip show discord-py-interactions
Name: discord-py-interactions
Version: 5.14.0
Summary: Easy, simple, scalable and modular: a Python API wrapper for interactions.
Home-page: https://github.com/interactions-py/interactions.py
Author: LordOfPolls
Author-email: [email protected]
License:
Location: /home/abc/.pyenv/versions/3.10.3/lib/python3.10/site-packages
Requires: aiohttp, attrs, croniter, discord-typings, emoji, tomli
Required-by: