Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Module",
"name": "Launch RedBot Dev",
"type": "debugpy",
"request": "launch",
"module": "redbot",
Expand Down
2 changes: 1 addition & 1 deletion purge/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"inactive"
],
"requirements": [
"croniter"
"croniter>=6.0.0"
],
"install_msg": "Usage: `[p]purge`",
"min_bot_version": "3.5.1"
Expand Down
4 changes: 2 additions & 2 deletions purge/purge.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import discord
from croniter import croniter
from croniter.croniter import CroniterError
from croniter.croniter import CroniterBadCronError
from redbot.core import Config, checks, commands


Expand Down Expand Up @@ -38,7 +38,7 @@ async def set_crontab(self, guild, crontab):
croniter(crontab)
await self.config.guild(guild).schedule.set(crontab)
return crontab
except CroniterError:
except CroniterBadCronError:
return False

async def check_purgeable_users(self):
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
aiofiles>=24.1.0
chat_exporter>=2.8.1
croniter>=6.0.0
fastjsonschema==2.19.1
pre-commit==3.7.0
prometheus-client
pyright==1.1.394
pytest-aiohttp==1.0.5
pytest-asyncio==0.23.6
pytest==8.2.0
python-Levenshtein>=0.27.1
ruff==0.9.6
sentry-sdk>=2.22.0
2 changes: 1 addition & 1 deletion verify/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"install_msg": "Usage: `[p]verify`",
"requirements": [
"python-Levenshtein"
"python-Levenshtein>=0.27.1"
],
"min_bot_version": "3.5.1"
}
Loading