| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| |/ / / / / / |
|
| |/ / / / / |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Patch d.py's message convertor to infer channelID from the given context
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Attempt to fetch un-cached nomination threads on archive
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes BOT-1R0
Fixes #1992
The time between a vote passing and the helper being helpered can sometimes be >7 days, meaning the thread may have auto-archived by then.
We should deal with this by trying to fetch the threead from the API if it's not cached.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Update PEP Repo URL
|
| | |\ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
remove default thread archive time
|
| | |\ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| | | |_|_|_|/ /
| |/| | | | | |
|
| | |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
The PEP github repo changed branch from master, to main, breaking our code.
Switch the ref from master to main in our code.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Redirect subscribe command output to bot commands
|
| | |\ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
set three_day to 4320, the number of minutes in 3 days
|
| |/ / / / / / |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Instead of silently failing in channels other than bot commands for non-staff, the bot now instead redirects the command output to bot commands and pings the user.
To facilitate this, I had to change the ctx.reply to a ctx.send since the invocation message may be in a different channel.
|
| | | | | | | |
|
| | |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Discord.py's Message convertor is supposed to infer channelID based on ctx.channel if only a messageID is given. A 'refactor' (linked below) a few weeks before d.py's archival broke this, so that if only a messageID is given to the convertor, it will only find that message if it's in the bot's cache.
Co-authored-by: Hassan Abouelela <[email protected]>
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Dynamic views for command help embeds
Adds views for commands to navigate groups.
For subcommands, a button is added to show the parent's help embed.
For groups, buttons are added for each subcommand to show their help embeds.
The views are not generated when help is invoked in the context of an error.
|
| |\ \ \ \
| | | | |
| | | | | |
Subscribe with buttons
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Manage nomination threads in bot
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Using a :eyes: style emoji string in a ctx.add_reaciton call will error. Discord expects either a unicode emoji, or a custom emoji.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is most relevant in local dev testing where the Emojis.check_mark could be the same as the Emojis.incident_actioned or Emojis.incident_unactioned, which would cause the bot to attempt to archive the post_review invocation if it was posted in the nomination voting channel.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This supresses both the mesage deleteions and the thread archive, so that if they are removed before the code can get to them, it does not raise an error.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This change creates a thread while posting the nomination, and then archives it once the nomination is concluded.
|
| | | | | | | |
|
| |/ / / / / |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This includes a refactor to use a dataclass for clearer implementation.
Along with that, this changes the roles so that they're always available, but un-assignable roles are in red and give a different error.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This command gives the users a set of buttons to click to add or remove pre-determined announcement roles.
Adding or removing a role updates the button state to reflect the change and what would happen if the user clicks the button again.
|
| | | | | | |
|
| | | | | | |
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | | |
Small changes to invalid rule indices message shortening
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Xithrius <[email protected]>
|