@@ -60,8 +60,8 @@ async def on_ready(): | |||
# Load Roxbots inbuilt cogs and settings | |||
print("Loading Bot internals...") | |||
bot.load_extension("roxbot.base") | |||
print("base.py Loaded") | |||
bot.load_extension("roxbot.core") | |||
print("core.py Loaded") | |||
bot.load_extension("roxbot.err_handle") | |||
print("err_handle.py Loaded") |
@@ -345,6 +345,7 @@ class Voice: | |||
@commands.guild_only() | |||
@commands.command() | |||
async def pause(self, ctx): | |||
# TODO: Add some timeouts on pause and resumes | |||
"""Pauses the current video, if playing.""" | |||
if ctx.voice_client.is_paused(): | |||
return await ctx.send("I already am paused!") |
@@ -35,7 +35,7 @@ import discord | |||
from discord.ext import commands | |||
class Base: | |||
class Core: | |||
"""Cog for commands that change the bot account and bot running.""" | |||
def __init__(self, bot_client): | |||
self.bot = bot_client | |||
@@ -261,4 +261,4 @@ class Base: | |||
def setup(bot_client): | |||
bot_client.add_cog(Base(bot_client)) | |||
bot_client.add_cog(Core(bot_client)) |