GithubHelp home page GithubHelp logo

v0idzdev / bb-bot Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 23.0 571 KB

๐Ÿค–๐Ÿ”’ Fully-featured Discord bot with music, polls, memes and moderation.

License: GNU General Public License v3.0

Python 97.61% Shell 1.05% PowerShell 1.34%
discord bot discord-bot discord-py discord-music-bot discord-admin-bot 24-7-music-bot 24-7 24-7-hosting discord-mod

bb-bot's Introduction

Languages

C++ C# C Python JavaScript CSS3 HTML5 TypeScript

Stats




bb-bot's People

Contributors

bjr29 avatar bubblegumzen avatar v0idzdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bb-bot's Issues

TypeError: unsupported operand type(s) for |: 'type' and 'type'

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'

On message event throws an exception after adding the ~blclear command

image
After adding the ~blclear command, the on_message_event in JSONFileCleaner throws an exception.

Potential Fixes

  • Check if the message was deleted by the bot at the start of the method, and if it was, return.
  • (Bad fix, but it'll work) Simply add a *args parameter in the method definition, so it doesn't throw an error due to having too many arguments.

Error while running script.ps1

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

403 Forbidden when using the ~reactrole command

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.

image
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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.