alex4108 / approova Goto Github PK
View Code? Open in Web Editor NEWApproova is a Discord Bot to allow existing members in your guild to approve new members.
License: MIT License
Approova is a Discord Bot to allow existing members in your guild to approve new members.
License: MIT License
๐๐
What is the current behavior?
When the guild owner uses the setApproverChannel, setApproverRole, setPublicChannel, or setPublicRole commands, there is no response from the bot and the respective values are not shown to be set upon using showConfig
What is the expected behavior?
Upon the guild owner using one of the 4 aforementioned commands, the bot should respond with confirmation, and subsequent calls to showConfig should reflect the changes made
What is the motivation / use case for changing the behavior?
Ensuring basic functionality
Please tell us about your environment:
Publicly-hosted, guild ID 807116310378709022
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
I cloned the repo and will see if I can't submit a PR with a fix tonight
๐๐
setApproverRole fails to locate the role if the role name includes a space, eg "Role Name". The function will assign "Role" to the value of roleName
. The subsequent search by role name fails.
Support chat ref: https://discord.com/channels/742969076623605830/742969076623605834/963971271668949062
roleName
var should contain all text after the command in the discord message so the lookup is successful.
What is the motivation / use case for changing the behavior?
Support roles with spaces in the name
Please tell us about your environment:
Public bot
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
make the search case insensitive while you're here, please.
I totally botched the release tonight.
๐๐
Bot won't respond to any configuration commands, *showConfig, *set(anything)
Ignoring exception in command setApproverChannel:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "bot.py", line 233, in setApproverChannel
if not is_owner(ctx.author):
File "bot.py", line 71, in is_owner
if member.id == member.guild.owner.id:
AttributeError: 'NoneType' object has no attribute 'id'
Configuration should be able to be completed.
Let the people use the app
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Is your feature request related to a problem? Please describe.
Users experience issues related to configuration. Post an alert to the support guild in the event of an exception for easier tracing.
Describe the solution you'd like
Write an exception handler that dispatches the stack trace to a private channel in support guild.
Describe alternatives you've considered
Additional context
Roll back kubernetes deployment if failed
I want to move out of Travis-CI and into GitHub Actions to feel better integrations and less configuration overhead for the project.
go test
docker build
Publish docs/ to approova.github.io
Let the app emit a readiness probe when it's connected to discord
I want to put in some kind of integration test to ensure the bot can start up and perform basic functions.
Using three discord identities in a guild just for E2E tests:
Need to bump discord.py to 1.6 to clear aiohttp vulnerability
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.