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>
|
<details>
|
||||||
<summary>List of added kurisu/robocop features</summary>
|
<summary>List of added kurisu/robocop features</summary>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
- [x] .py configs
|
- [x] .py configs
|
||||||
- [x] membercount command
|
- [x] membercount command
|
||||||
- [x] Meme commands and pegaswitch (honestly the easiest part)
|
- [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: clearwarns-clearwarnsid
|
||||||
- [x] Warns: delwarnid-delwarn
|
- [x] Warns: delwarnid-delwarn
|
||||||
- [x] .serr and .err (thanks tomger!)
|
- [x] .serr and .err (thanks tomger!)
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ from discord.ext import commands
|
||||||
import traceback
|
import traceback
|
||||||
import inspect
|
import inspect
|
||||||
import re
|
import re
|
||||||
from cogs.checks import check_if_bot_manager
|
from helpers.checks import check_if_bot_manager
|
||||||
|
|
||||||
|
|
||||||
class Admin:
|
class Admin:
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import time
|
import time
|
||||||
import config
|
import config
|
||||||
|
|
||||||
import discord
|
import discord
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@ import re
|
||||||
import discord
|
import discord
|
||||||
|
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
from data.errcodes import *
|
from helpers.errcodes import *
|
||||||
|
|
||||||
|
|
||||||
class Err:
|
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):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
import config
|
import config
|
||||||
import discord
|
import discord
|
||||||
from cogs.checks import check_if_staff
|
from helpers.checks import check_if_staff
|
||||||
|
|
||||||
|
|
||||||
class Lockdown:
|
class Lockdown:
|
||||||
|
|
|
@ -2,7 +2,7 @@ import random
|
||||||
import discord
|
import discord
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
import math
|
import math
|
||||||
from cogs.checks import check_if_staff_or_ot
|
from helpers.checks import check_if_staff_or_ot
|
||||||
|
|
||||||
|
|
||||||
class Meme:
|
class Meme:
|
||||||
|
|
|
@ -4,7 +4,7 @@ from discord.ext import commands
|
||||||
import config
|
import config
|
||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
from cogs.checks import check_if_staff
|
from helpers.checks import check_if_staff
|
||||||
|
|
||||||
|
|
||||||
class Mod:
|
class Mod:
|
||||||
|
|
|
@ -5,7 +5,7 @@ import config
|
||||||
import random
|
import random
|
||||||
from inspect import cleandoc
|
from inspect import cleandoc
|
||||||
import hashlib
|
import hashlib
|
||||||
from cogs.checks import check_if_staff
|
from helpers.checks import check_if_staff
|
||||||
|
|
||||||
|
|
||||||
welcome_header = """
|
welcome_header = """
|
||||||
|
|
Loading…
Reference in a new issue