GithubHelp home page GithubHelp logo

sgoudham / enso-bot Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 3.0 48.34 MB

Ensō~Chan is a multi-purpose bot focused on catering to the anime community! Log Events/Send Mail To Staff! And much much more!

Home Page: https://discord.gg/SZ5nexg

License: GNU General Public License v3.0

Python 100.00%
discord discord-py mywaifulist python3

enso-bot's Introduction

Hiya, I'm Goudham 👋

I love contributing to open-source software.

enso-bot's People

Contributors

dependabot[bot] avatar sgoudham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

enso-bot's Issues

Server info command fails if `manage_guild` and `ban_members` permissions are not present.

@bot_has_permissions(ban_members=True, manage_guild=True, embed_links=True)

Enso-Bot/cogs/info.py

Lines 265 to 266 in a75c5be

# Get the list of banned users from the server
bans = len(await ctx.guild.bans())

Enso-Bot/cogs/info.py

Lines 267 to 268 in a75c5be

# Get the list of invites created for the server
invites = len(await ctx.guild.invites())

The check on line 205 should be replaced with individual ctx.guild.guild_permissions checks above lines 266 and 268.

This will allow the command to run even if the bot does not have those permissions.

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.