Commit graph

25 commits

Author SHA1 Message Date
noirscape b9255215c1 This implements the latest breaking changes to cogs from d.py rewrite.
They're all syntax changes and renames. I've checked twice to make sure
I didn't miss any listeners or classes.

For future reference:
- Do `from discord.ext.commands import Cog` in all new cogs.
- Subclass the new class to Cog.
- New listeners should get the `@Cog.listener()` decorator.

Conveniently, there weren't any pre-execution methods that have been
renamed.
2019-02-28 23:10:30 +01:00
tomGER e66a178b11
Update err.py 2019-02-20 13:11:55 +01:00
tumGER 0a045c9f61 [ERR] Split the command in 3 commands 2019-02-07 18:34:47 +01:00
tumGER 88a3dd1f33 [ERR] Enhance Ave's F 2019-02-07 18:22:10 +01:00
Ave Ozkal 2d4c75463e
err: F on ban 2019-01-29 13:50:04 +03:00
dark-samus a05c2b8ce7 Switch errors: Set 'err_description' var unconditionally before searching 2018-12-27 20:59:37 -05:00
Ave Ozkal 338aa80c58
Move checks and errcodes to a new folder called helpers 2018-12-26 14:36:55 +03:00
Ave Ozkal bd4fa015ca
Merge branch 'master' of github.com:aveao/robocop-ng 2018-12-24 11:10:54 +03:00
Ave Ozkal 3b062a2ac3
err: get pep8 compliant and reduce string repetition
sorry tomger, lol
2018-12-24 11:09:35 +03:00
tomGER 9e0192a82a
[ERR] add ninerr to possible aliases 2018-12-24 01:40:06 +01:00
Ave Ozkal b2a907babf
err: Further cleanup of tomGER's code
I dislike .format() :)
2018-12-23 20:42:01 +03:00
Ave Ozkal 5d54ac7aec
playing: Add playing
Also this commit includes DRAM optimization (aka I sneakily cleaned
tomGER's code a bit)~
2018-12-23 20:36:40 +03:00
tumGER 701d5ba084 Implement hex2err and err2hex 2018-12-23 18:01:31 +01:00
tumGER 6e83b6c865 just use hex() instead 2018-12-23 17:51:21 +01:00
tumGER 52e5de4556 Fix the shown errcode 2018-12-23 17:48:38 +01:00
tumGER a66fcd14b7 Restructure some logic 2018-12-23 17:46:03 +01:00
tumGER 3f3a242d0d Fix false hex in title on switch error 2018-12-23 17:32:01 +01:00
tumGER b6f8f3b256 Fix stupid logic 2018-12-23 17:29:14 +01:00
tumGER b566f7b1e5 Add err to autoboot 2018-12-23 17:23:05 +01:00
tumGER 7e313055de [ERR] Add Wii U, 3DS, Switch Hex, 3DS Hex, Error support 2018-12-23 17:16:56 +01:00
tumGER 0539c195bd [ERR] Fancy Embed
Co-Authored-By: Ave <githubpublic@ave.zone>
2018-12-23 15:55:45 +01:00
tumGER 9216e07b31 fix markup 2018-12-23 15:42:04 +01:00
tumGER 88dd96910c Make ave happy (and the bot work) 2018-12-23 15:39:03 +01:00
tumGER 3ef04a6af5 Update err.py 2018-12-23 15:32:22 +01:00
tumGER c8cce79f61 Skeleton of ERR 2018-12-23 15:27:06 +01:00