v0idzdev / bb-bot Goto Github PK
View Code? Open in Web Editor NEW๐ค๐ Fully-featured Discord bot with music, polls, memes and moderation.
License: GNU General Public License v3.0
๐ค๐ Fully-featured Discord bot with music, polls, memes and moderation.
License: GNU General Public License v3.0
C:\Users\DREAMFYRE5\Desktop\bb-bot>python main.py
Traceback (most recent call last):
File "C:\Users\DREAMFYRE5\Desktop\bb-bot\main.py", line 9, in <module>
from client import Client, get_prefix
File "C:\Users\DREAMFYRE5\Desktop\bb-bot\client\__init__.py", line 1, in <module>
from .client_class import Client
File "C:\Users\DREAMFYRE5\Desktop\bb-bot\client\client_class.py", line 8, in <module>
from utils import Cache, Twitch
File "C:\Users\DREAMFYRE5\Desktop\bb-bot\utils\__init__.py", line 1, in <module>
from .buttons import *
File "C:\Users\DREAMFYRE5\Desktop\bb-bot\utils\buttons\__init__.py", line 2, in <module>
from .view_youtube_button import ViewYoutubeButton
File "C:\Users\DREAMFYRE5\Desktop\bb-bot\utils\buttons\view_youtube_button.py", line 7, in <module>
class ViewYoutubeButton(ui.View):
File "C:\Users\DREAMFYRE5\Desktop\bb-bot\utils\buttons\view_youtube_button.py", line 13, in ViewYoutubeButton
self, url: str, ctx: commands.Context | discord.Interaction, *, timeout=None
TypeError: unsupported operand type(s) for |: 'type' and 'type'
utils/buttons.py
.When using ~blclear
to clear a blacklist with words in it, the following error message is shown:
After adding the ~blclear command, the on_message_event in JSONFileCleaner throws an exception.
*args
parameter in the method definition, so it doesn't throw an error due to having too many arguments.Traceback (most recent call last):
File "C:\Users\user\Desktop\YMT\bb-bot-master\main.py", line 50, in
asyncio.run(main())
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\user\Desktop\YMT\bb-bot-master\main.py", line 41, in main
async with client:
AttributeError: aenter
When using the ~reactrole
command, the bot generates a reaction role embed with no issues. However, when a user actually reacts to the role, the following exception is raised.
Currently, I have been able to fix the error by placing the bot's role above the reaction role, and it works fine. Is there any other way to fix this issue that makes it easier for the user?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.