Beispiel #1
1
def setup(bot):
    bot.add_cog(BotEvent(bot))
Beispiel #2
0
def setup(bot):
    bot.add_cog(Hello(bot))
Beispiel #3
0
def setup(bot):
    bot.add_cog(net_tools(bot))
Beispiel #4
0
def setup(bot):
    bot.add_cog(Developer(bot))
Beispiel #5
0
def setup(bot):
    bot.add_cog(staffcogs(bot))
Beispiel #6
0
def setup(bot):
    bot.add_cog(CommandesOld(bot))
Beispiel #7
0
def setup(bot):
    bot.add_cog(ServerSystem(bot))
def setup(bot):
    bot.add_cog(GemsPlay(bot))
    open("help/cogs.txt", "a").write("GemsPlay\n")
Beispiel #9
0
def setup(bot):
    bot.add_cog(kuromina_notify(bot))
Beispiel #10
0
 def setup(bot):
     check_folder()
     check_file()
     r = MakeGif(bot)
     bot.add_cog(r)
Beispiel #11
0
def setup(bot):
    bot.add_cog(Commandes(bot))
    bot.add_cog(SecretCommandes(bot))
    open("core/cache/cogs.txt", "a").write("Commandes\n")
def setup(bot):
    bot.add_cog(Helpme(bot))
Beispiel #13
0
def setup(bot):
    bot.add_cog(help(bot))
Beispiel #14
0
def setup(bot):
    bot.add_cog(Badwrd(bot))
Beispiel #15
0
def setup(bot):
    bot.add_cog(Chitchat(bot))
Beispiel #16
0
def setup(bot):
    bot.add_cog(ImageHandler(bot))
Beispiel #17
0
imgflipData.isEnabled = config["IMGFLIP"]["Enable"] == "True"
imgflipData.username = config["IMGFLIP"]["Username"]
imgflipData.password = config["IMGFLIP"]["Password"]

# CLEVERBOT
cbenabled = config["CLEVERBOT"]["Enable"] == "True"

# TOKEN
token = config["BOTCONF"]["Token"]

# endregion

# region BOT INITIALIZATION
bot = commands.Bot(command_prefix="$")

bot.add_cog(Rand())
bot.add_cog(AdminOnly(bot))
bot.add_cog(File(bot))
bot.add_cog(RandomCommands(bot, cbenabled))
bot.add_cog(Answers())
bot.add_cog(Images())
bot.add_cog(memes.Memes(imgflipData))
bot.add_cog(Fun(bot))
bot.add_cog(Video(bot))
bot.add_cog(Audio(bot))
bot.add_cog(Reminders(bot))


@bot.event
async def on_ready():
    print("\033[2J\033[;H", end='')
Beispiel #18
0
def setup(bot):
    bot.add_cog(Repeat(bot))
def setup(bot):
    bot.add_cog(GemsSuccess(bot))
    open("help/cogs.txt", "a").write("GemsSuccess\n")
Beispiel #20
0
def setup(bot):
    bot.add_cog(math(bot))
Beispiel #21
0
def setup(bot):
    bot.add_cog(BotCMD(bot))
Beispiel #22
0
def setup(bot):
    bot.add_cog(FydoTranslate(bot))
Beispiel #23
0
    token = os.getenv("DISCORD_TOKEN")

    if not os.getenv("DATABASE_URL"):
        raise RuntimeError("DATABASE_URL not set")

    url = os.getenv("DATABASE_URL")

    engine = create_engine(url)

    intents = discord.Intents.default()
    intents.members = True

    bot = discord.ext.commands.Bot('!',
                                   description=bot_description,
                                   intents=intents)
    bot.add_cog(SecretSanta(bot, engine))
    bot.add_cog(Contests(bot, engine))

    @bot.event
    async def on_ready():
        print(f'{bot_name} has escaped from his shell')

    @bot.command()
    async def source(ctx):
        await ctx.send(f"You can view my source at {bot_source}")

    @bot.command()
    async def authors(ctx):
        await ctx.send("I was written by: " + ", ".join(bot_authors))

    @bot.command()
Beispiel #24
0
	def setup(bot):
		check_folder()
		check_file()
		r = CRSFX(bot)
		bot.add_cog(r)
Beispiel #25
0
def setup(bot):
    bot.add_cog(Schlmeal(bot))
Beispiel #26
0
def setup(bot):
    bot.add_cog(ReadySystem(bot))
def setup(bot):
    bot.add_cog(Error(bot))
Beispiel #28
0
def setup(bot):
    bot.add_cog(Music(bot))
Beispiel #29
0
def setup(bot):
    bot.add_cog(Bye(bot))
Beispiel #30
0
def setup(bot):
    bot.add_cog(fun(bot))