Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

Interaction patches #2

Open
wants to merge 51 commits into
base: main
Choose a base branch
from
Open

Interaction patches #2

wants to merge 51 commits into from

Conversation

BenitzCoding
Copy link
Contributor

Interaction patches for discord.py 2.0.

Copy link

@arqvt arqvt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@BenitzCoding
Copy link
Contributor Author

I'm currently trying to resolve this error.

beni@beni Security % python3 ./index.py
/Users/beni/Storage/001_Github/Security/./index.py:283: RuntimeWarning: coroutine 'BotBase.load_extension' was never awaited
  bot.load_extension(f"cogs.{name}")
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[22-04-2022 | 15:59:36] INFO: "log" Cog Loaded.
[22-04-2022 | 15:59:36] INFO: "events" Cog Loaded.
[22-04-2022 | 15:59:36] INFO: "core" Cog Loaded.

@BenitzCoding
Copy link
Contributor Author

Ok, I fixed the issues that occur on start-up, now the issue is that discord cached the old commands. I can't test it now because thanks discord, but we should fix the duplicate command glitch if it's still present in the bot. :( It wasn't a issue before, it's a issue now, but I made the bot clear all global commands to ensure the global commands don't interfere with the guild only commands.

  • BenitzCoding

Copy link
Contributor Author

@BenitzCoding BenitzCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution, it did help a lot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants