|
|
|
|
|
|
|
|
import roxbot |
|
|
import roxbot |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: The whole system of showing the output needs to be redone cause it fucking sucks for embeds. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CustomCommands: |
|
|
class CustomCommands: |
|
|
def __init__(self, bot_client): |
|
|
def __init__(self, bot_client): |
|
|
self.bot = bot_client |
|
|
self.bot = bot_client |
|
|
|
|
|
|
|
|
@custom.command() |
|
|
@custom.command() |
|
|
async def list(self, ctx, debug="0"): |
|
|
async def list(self, ctx, debug="0"): |
|
|
""""Lists all custom commands for this server.""" |
|
|
""""Lists all custom commands for this server.""" |
|
|
# TODO: Make this work with embed commands. |
|
|
|
|
|
if debug != "0" and debug != "1": |
|
|
if debug != "0" and debug != "1": |
|
|
debug = "0" |
|
|
debug = "0" |
|
|
settings = roxbot.guild_settings.get(ctx.guild) |
|
|
settings = roxbot.guild_settings.get(ctx.guild) |