Example #1
0
def setup(bot: Bot):
    bot.add_cog(Reminders(bot))
Example #2
0
def setup(bot: Bot):
    bot.add_cog(Status(bot))
Example #3
0
def setup(bot: Bot):
    bot.add_cog(ErrorHandler(bot))
Example #4
0
from os import getenv
from dotenv import load_dotenv

from src.internal.bot import Bot

load_dotenv()

bot = Bot()

bot.load_extensions(
    "jishaku",
    "src.cogs.internal.error_handler",
    "src.cogs.internal.ping",
    "src.cogs.internal.update",
    "src.cogs.utility.bookmark",
    "src.cogs.core.topics",
    "src.cogs.fun.ducks",
)

bot.run(getenv("TOKEN"))
Example #5
0
def setup(bot: Bot) -> None:
    """Load the CodeSnippets cog."""
    bot.add_cog(CodeSnippets(bot))
Example #6
0
def setup(bot: Bot):
    bot.add_cog(Core(bot))
Example #7
0
def setup(bot: Bot):
    bot.add_cog(Ducks(bot))
Example #8
0
def setup(bot: Bot):
    bot.add_cog(Update(bot))
Example #9
0
def setup(bot: Bot):
    bot.add_cog(General(bot))
Example #10
0
from os import getenv
from dotenv import load_dotenv

from src.internal.bot import Bot

load_dotenv()

bot = Bot()

bot.load_extensions(
    "jishaku",
    "src.cogs.internal.error_handler",
    "src.cogs.internal.update",
    "src.cogs.internal.status",
    "src.cogs.config.config",
    "src.cogs.utility.reminders",
    "src.cogs.utility.avatar",
    "src.cogs.utility.code",
)

bot.run(getenv("TOKEN"))
Example #11
0
def setup(bot: Bot):
    bot.add_cog(Config(bot))
Example #12
0
def setup(bot: Bot):
    bot.add_cog(Errors(bot))
Example #13
0
def setup(bot: Bot):
    bot.add_cog(Avatar(bot))
Example #14
0
def setup(bot: Bot):
    bot.add_cog(Trivia(bot))
Example #15
0
from os import getenv
from dotenv import load_dotenv

from src.internal.bot import Bot

load_dotenv()

bot = Bot()

bot.load_extensions(
    "jishaku",
    "src.cogs.internal.error_handler",
    "src.cogs.internal.general",
    "src.cogs.core.core",
)

bot.run(getenv("TOKEN"))
Example #16
0
def setup(bot: Bot):
    bot.add_cog(Levelling(bot))
Example #17
0
def setup(bot: Bot):
    bot.add_cog(Events(bot))
Example #18
0
from os import getenv

from src.internal.bot import Bot

bot = Bot()

bot.load_extensions(
    #"jishaku",
    "src.cogs.core",
    "src.cogs.errors",
    "src.cogs.levelling",
)

bot.run(getenv("DISCORD_TOKEN"))
Example #19
0
def setup(bot: Bot):
    bot.add_cog(Topics(bot))
Example #20
0
from os import getenv

from src.internal.bot import Bot

bot = Bot()

bot.load_extensions(
    "jishaku",
    "src.cogs.core",
    "src.cogs.config",
    "src.cogs.errors",
)

bot.run(getenv("TOKEN"))