| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
An issue with snekbox in our cluster has meant that we want to send requests to an external service temporarily while we get this fixed.
Making this an env var means we can change this whenever needed in future without leaking the external service's url.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Update username checks
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Ss soon as we get a match for a bad name, return it, rather than running it against the rest of the filters.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
tokens again
|
| |/ / / / / / |
|
| |/ / / / / |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
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]>
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | |\ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
1. Dict was missing .items() method, causing TypeError.
2. Timestamp wasn't converted to float before passing to dt.fromtimestamp(), was stored as a joined string with work_time.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | |\ \ \ \ \ |
|
| | | | | | | | | |
|
| | | |\ \ \ \ \ \ |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | |\ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
# Conflicts:
# bot/converters.py
# bot/exts/info/tags.py
# tests/bot/test_converters.py
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The arguments are now parsed by the command itself so the test would only
check if the mocked message was passed in.
The only case where the errors would fail would be a change to the passed args,
so it'd only restrict development as the tests would need to be changed anyway
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This lets us skip on the logic of figuring out whether we received a
tag name alone, or both a name and a group
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|