Move checks and errcodes to a new folder called helpers
This commit is contained in:
parent
679f3ea490
commit
338aa80c58
10 changed files with 9 additions and 8 deletions
|
@ -25,6 +25,7 @@ ALL FEATURES OF KURISU/ROBOCOP USED IN RESWITCHED ARE NOW SUPPORTED!
|
|||
<details>
|
||||
<summary>List of added kurisu/robocop features</summary>
|
||||
<p>
|
||||
|
||||
- [x] .py configs
|
||||
- [x] membercount command
|
||||
- [x] Meme commands and pegaswitch (honestly the easiest part)
|
||||
|
@ -57,6 +58,7 @@ ALL FEATURES OF KURISU/ROBOCOP USED IN RESWITCHED ARE NOW SUPPORTED!
|
|||
- [x] Warns: clearwarns-clearwarnsid
|
||||
- [x] Warns: delwarnid-delwarn
|
||||
- [x] .serr and .err (thanks tomger!)
|
||||
|
||||
</p>
|
||||
</details>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ from discord.ext import commands
|
|||
import traceback
|
||||
import inspect
|
||||
import re
|
||||
from cogs.checks import check_if_bot_manager
|
||||
from helpers.checks import check_if_bot_manager
|
||||
|
||||
|
||||
class Admin:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import time
|
||||
import config
|
||||
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@ import re
|
|||
import discord
|
||||
|
||||
from discord.ext import commands
|
||||
from data.errcodes import *
|
||||
from helpers.errcodes import *
|
||||
|
||||
|
||||
class Err:
|
||||
"Everything related to Nintendo 3DS, Wii U and Switch error codes"
|
||||
"""Everything related to Nintendo 3DS, Wii U and Switch error codes"""
|
||||
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from discord.ext import commands
|
||||
import config
|
||||
import discord
|
||||
from cogs.checks import check_if_staff
|
||||
from helpers.checks import check_if_staff
|
||||
|
||||
|
||||
class Lockdown:
|
||||
|
|
|
@ -2,7 +2,7 @@ import random
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
import math
|
||||
from cogs.checks import check_if_staff_or_ot
|
||||
from helpers.checks import check_if_staff_or_ot
|
||||
|
||||
|
||||
class Meme:
|
||||
|
|
|
@ -4,7 +4,7 @@ from discord.ext import commands
|
|||
import config
|
||||
import json
|
||||
import time
|
||||
from cogs.checks import check_if_staff
|
||||
from helpers.checks import check_if_staff
|
||||
|
||||
|
||||
class Mod:
|
||||
|
|
|
@ -5,7 +5,7 @@ import config
|
|||
import random
|
||||
from inspect import cleandoc
|
||||
import hashlib
|
||||
from cogs.checks import check_if_staff
|
||||
from helpers.checks import check_if_staff
|
||||
|
||||
|
||||
welcome_header = """
|
||||
|
|
Loading…
Reference in a new issue