GithubHelp home page GithubHelp logo

itsshunya / shuwy Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 36.6 MB

Shuwy is a discord bot focused in moderation and automation features, as well as a complex music streaming system featuring a responsive player within discord messages.

License: GNU General Public License v3.0

Python 98.23% Shell 0.03% Batchfile 1.73%
discord discord-bot discord-py lavalink music-bot

shuwy's People

Contributors

itsshunya avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

doclpyt

shuwy's Issues

Command's docstring too detailed for users

Currently the !help command shows the docstring for each command, some of them have information which is useless for the user.
e.g. Cog Members: !welcome channel : Subcommand for "welcome" function to set the welcome channel.

[Doc] Change names to commands

After looking at other bots, it is clear people often do not like long command names. We might want to get new names for command names that are phrases or maybe unite them in a group

[BUG] Favourite function not working

Since the update to the database library (from sqlite to aiosqlite) the functions related to favourite music have stopped working.

This might be due to some database writting/reading issue with the new library.

Add .editorconfig

EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles.

[FEATURE] Migrate to Pipenv

Feature requested

Migration to use Pipenv instead of Python virtual environments.

Reason

This will ease the creation of a virtual environment and it is increasing its popularity, a guide on how to configure it should be added as well.

Planning

Install the Pipenv package from pip, add a Pipfile and Piplock migrating from requirements.txt to Pipenv and replace the run.bat paths.

Expected behaviour

All the python modules should be installed in the pipenv virtual environment and it will be easier to work around it.

Actual behaviour

All the python modules are stored in the python installation or the virtual environment.

Music: Remove emoji on use

At the moment (v.0.0.7) when a user reacts with an emoji to the music player, he needs to remove the emoji by himself if he wants to press the same button again.

e.g. User wants to lower the volume a lot: He will need to add and remove the emoji to do it multiple times.

Feature: Remove emoji on use.

sqlite3 is not async

The current bot uses sqlite3 for database management, while this is not an asynchronous library.

Should migrate to aiosqlite (asynch).

[FEATURE] Add more logs

We need more logs for different things happening within the bot, currently it is logging the commands used. Could log on_error as well.

[FEATURE] Command to assign roles

Suggested: new command to assign roles (minimum 1, not maximum).
It should check if the user already has each one of those roles.

[BUG] BATCH file lacking timestamp

Recently a timestamp was added to the BATCH file to display the current date and time for each line command.
But for the call to the python Shuwy.py there is no timestamp displayed, so from that line onwards no timestamp is displayed.

[FEATURE] Add more languages

Nowadays many people use discord, but most discord communities are kept in a single language.
Not everyone speaks english fluently or likes to have a bot in english.

FEATURE REQUEST: Add more languages to the bot
IDEA: It is possible to work with a JSON for each language and store all the string data in them, loading the JSON depending on the language chosen. The one thing not possible would be to change the name of the commands (or maybe use alias...)

[BUG] Sometimes the bot does not display correctly the avatar of the user in an embed

Subject of the issue

In the welcoming messages, the bot sets the thumbnail picture of the embed to the avatar of the user who joined. Sometimes this avatar is not displayed correctly, displaying only a loading screen.

Your environment

• ID: 737219824987406367
• Shuwy version: 0.2.4
• Discord.py version: 1.5.1
• Python version: 3.7.5

Steps to reproduce

Let a member join to a server that has configured the welcome message on member join and add an embed message. Most of the time it will be right, but it will display a loading image some times.

Expected behaviour

The thumbnail picture should be the avatar picture of the user.

Actual behaviour

Sometimes a loading picture gets displayed.

image

[BUG] Sometimes the bot displays the ID of the user when trying to tag him

Subject of the issue

In some functionalities where the bot has to send an embedded message containing a tag to the specified user @User#0000, instead of displaying his tagged name such as @User, it displays his ID as <@02049239499202523>.

Your environment

• ID: 737219824987406367
• Shuwy version: 0.2.4
• Discord.py version: 1.5.1
• Python version: 3.7.5

Steps to reproduce

Let a member join to a server that has configured the welcome message on member join and add an embed message with a tag to the user in that message. Most of the time it will be right, but it will display some weird ID numbers at some point.

Expected behaviour

The user should get tagged (not notified because it is within an embed) in the format @User.

Actual behaviour

The user gets tagged displaying his ID in the format <@02049239499202523>.

image

Music not working

The music cog has completely stopped working, with a log message displaying the error:
Failed to match ytInitialData JSON object

Possibily Lavalink/Wavelink failure.

Add .README

Add .README to include the documentation for this project.

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.