aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | Merge remote-tracking branch 'upstream/main' into modpings-scheduleGravatar Shivansh-0072021-10-19-2584/+5369
| | |\ \ \ \
| | * | | | | Fix bugs when scheduling from cacheGravatar Shivansh-0072021-07-12-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | | (modpings): Make flake8 happy!Gravatar Shivansh-0072021-06-13-2/+1
| | | | | | |
| | * | | | | (modpings): Add a day to datetime if already passedGravatar Shivansh-0072021-06-13-1/+9
| | | | | | |
| | * | | | | (modpings): Add subcommand to delete your modpings scheduleGravatar Shivansh-0072021-06-13-1/+13
| | | | | | |
| | * | | | | (modpings): 16 hours is the maximum schedule limitGravatar Shivansh-0072021-06-13-7/+7
| | | | | | |
| | * | | | | (modpings): Use scheduling.create_task wrapperGravatar Shivansh-0072021-06-13-9/+9
| | | | | | |
| | * | | | | (modpings): Use 24 hour formatGravatar Shivansh-0072021-06-13-1/+1
| | | | | | |
| | * | | | | Merge branch 'main' into modpings-scheduleGravatar Shivansh-0072021-06-13-20/+121
| | |\ \ \ \ \
| | * | | | | | (modpings): Cancel scheduler and tasks on cog unloadGravatar Shivansh-0072021-06-11-0/+3
| | | | | | | |
| | * | | | | | Merge branch 'main' into modpings-scheduleGravatar Shivansh-0072021-06-11-3/+3
| | |\ \ \ \ \ \
| | * | | | | | | (modpings): Make flake8 happy!Gravatar Shivansh-0072021-06-11-3/+8
| | | | | | | | |
| | * | | | | | | (modpings): Use separate scheduler for modpings scheduleGravatar Shivansh-0072021-06-11-7/+8
| | | | | | | | |
| | * | | | | | | (modpings): Cancel the task before scheduling it againGravatar Shivansh-0072021-06-11-0/+3
| | | | | | | | |
| | * | | | | | | Add modpings schedule featureGravatar Shivansh-0072021-06-10-1/+81
| | | | | | | | |
| | | | | | * | | Merge remote-tracking branch 'upstream/main' into tag-groupsGravatar Numerlor2021-11-09-850/+1274
| | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # bot/converters.py # bot/exts/info/tags.py # tests/bot/test_converters.py
| | | | | | * | | | Remove try_get_tag ctx args testGravatar Numerlor2021-09-22-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | | | * | | | Use new command interface that accepts direct contentGravatar Numerlor2021-09-22-10/+1
| | | | | | | | | |
| | | | | | * | | | Handle argument parsing through identifier from_string instead of d.pyGravatar Numerlor2021-09-22-24/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets us skip on the logic of figuring out whether we received a tag name alone, or both a name and a group
| | | | | | * | | | Reword all tags embed titleGravatar Numerlor2021-09-13-1/+1
| | | | | | | | | |
| | | | | | * | | | Rename methods to better reflect their new behaviourGravatar Numerlor2021-09-13-4/+4
| | | | | | | | | |
| | | | | | * | | | remove redundant returns on both branchesGravatar Numerlor2021-09-13-2/+1
| | | | | | | | | |
| | | | | | * | | | Return formatted list instead of paginating directly in tag list methodsGravatar Numerlor2021-09-13-20/+18
| | | | | | | | | |
| | | | | | * | | | Use a -inf default for comparison to skip containment checkGravatar Numerlor2021-09-06-1/+1
| | | | | | | | | |
| | | | | | * | | | Merge remote-tracking branch 'upstream/main' into tag-groupsGravatar Numerlor2021-09-06-1547/+3559
| | | | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # bot/converters.py # bot/exts/backend/error_handler.py # bot/exts/info/source.py # tests/bot/test_converters.py
| | | | | | * | | | | Return 0 if search string has no a-z charactersGravatar Numerlor2021-09-06-0/+3
| | | | | | | | | | |
| | | | | | * | | | | Remove TagNameConverterGravatar Numerlor2021-09-06-110/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The converter was now only used to restrict requested names which can be handled by not matching a tag in the cog and not displaying output, this allows us to be a bit more generous with tag names during the command fallback when a name with invalid symbols is parsed after a group
| | | | | | * | | | | simplify fuzzy suggestion funcGravatar Numerlor2021-09-06-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | * | | | | Simplify group_score definitionGravatar Numerlor2021-08-29-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | * | | | | Fix punctuationGravatar Numerlor2021-08-29-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | * | | | | simplify assignment and add comment explaining its purposeGravatar Numerlor2021-08-28-2/+2
| | | | | | | | | | |
| | | | | | * | | | | Remove unnecessary line in helpGravatar Numerlor2021-08-28-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | * | | | | Fix tag fuzzy matching when searching against a longer targetGravatar Numerlor2021-08-23-3/+7
| | | | | | | | | | |
| | | | | | * | | | | remove redundant index assignmentsGravatar Numerlor2021-08-23-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | * | | | | Move definition of loop vars next to loopGravatar Numerlor2021-08-15-1/+1
| | | | | | | | | | |
| | | | | | * | | | | refactor fuzzy_search to use conventional iterationGravatar Numerlor2021-08-15-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | * | | | | Fix incorrect annotationGravatar Numerlor2021-08-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | * | | | | Reword `tag get` helpGravatar Numerlor2021-08-15-1/+1
| | | | | | | | | | |
| | | | | | * | | | | use an empty string as the initial group valueGravatar Numerlor2021-08-14-1/+1
| | | | | | | | | | |
| | | | | | * | | | | Use new Tags cog structure in source.pyGravatar Numerlor2021-08-12-8/+11
| | | | | | | | | | |
| | | | | | * | | | | make the tags attribute publicGravatar Numerlor2021-08-12-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the tags need to be accessed by the source cog
| | | | | | * | | | | Store paths on Tags instead of only accepting the file contentsGravatar Numerlor2021-08-12-3/+4
| | | | | | | | | | |
| | | | | | * | | | | Make return condition clearerGravatar Numerlor2021-08-02-8/+9
| | | | | | | | | | |
| | | | | | * | | | | Simplify condition by assigning group and name before itGravatar Numerlor2021-08-02-5/+4
| | | | | | | | | | |
| | | | | | * | | | | Use opposite comparison operator instead of negating conditionGravatar Numerlor2021-08-02-1/+1
| | | | | | | | | | |
| | | | | | * | | | | Move tag identifier creation method to a TagIdentifier constructorGravatar Numerlor2021-08-02-10/+10
| | | | | | | | | | |
| | | | | | * | | | | Change if to elif to indicate it's exclusive with the above ifGravatar Numerlor2021-08-02-1/+1
| | | | | | | | | | |
| | | | | | * | | | | Use an and instead of nested ifsGravatar Numerlor2021-08-02-4/+3
| | | | | | | | | | |
| | | | | | * | | | | Move `current_group` assignment and use it instead of `identifier.group`Gravatar Numerlor2021-08-02-3/+3
| | | | | | | | | | |
| | | | | | * | | | | Use "message" in docstring for consistencyGravatar Numerlor2021-08-02-1/+1
| | | | | | | | | | |