hermaplusplus / vergil

Discord bot for referencing Vergil from 'Devil May Cry'
GNU General Public License v3.0
1 stars 1 forks source link

Lacking Thread Support #7

Open hermaplusplus opened 2 years ago

hermaplusplus commented 2 years ago

The bot does not respond to threads. At this stage, it is unclear as to whether or not it receives a message event.

glunkad commented 2 years ago

Hey @hermaplusplus , I'm interested in contributing to this issue, so before I start working on it, would you mind sparing your time explaining what the issue is about and pointing me to some resources to get started .

hermaplusplus commented 2 years ago

Hey @hermaplusplus , I'm interested in contributing to this issue, so before I start working on it, would you mind sparing your time explaining what the issue is about and pointing me to some resources to get started .

Hey @9gl! This issue regards the bot responding to normal text channels but not threads, even if it has permissions to and is present in the thread. This bot uses py-cord, which I am on completely familiar with yet as I have previously only used discord.py.

You can find the documentation for py-cord here and the on_message event documentation here.

The live bot uses the scopes bot and applications.commands, and is by default invited with the following permissions:

It is possible that py-cord does not support events from threads yet, but I haven't had much time to investigate it yet.