Skip to content
Snippets Groups Projects
Commit 6f9c2061 authored by LMzK's avatar LMzK
Browse files

Ergänzt

NEU!
appointments, calmdown, support, text_commands, timer, welcome
parent 83ecbbd5
Branches
No related tags found
1 merge request!10Erweiterungen
......@@ -4,7 +4,7 @@ import discord
from discord.ext import commands
from dotenv import load_dotenv
from cogs import help, links, polls, roles
from cogs import appointments, calmdown, help, links, polls, roles, support, text_commands, timer, welcome
# .env file is necessary in the same directory, that contains several strings.
load_dotenv()
......@@ -16,11 +16,16 @@ PIN_EMOJI = "📌"
intents = discord.Intents.default()
intents.members = True
bot = commands.Bot(command_prefix='!', help_command=None, activity=discord.Game(ACTIVITY), intents=intents)
bot.add_cog(polls.Polls(bot))
bot.add_cog(links.Links(bot))
bot.add_cog(appointments.Appointments(bot))
bot.add_cog(calmdown.Calmdown(bot))
bot.add_cog(help.Help(bot))
bot.add_cog(links.Links(bot))
bot.add_cog(polls.Polls(bot))
bot.add_cog(roles.Roles(bot))
bot.add_cog(support.Support(bot))
bot.add_cog(text_commands.TextCommands(bot))
bot.add_cog(timer.Timer(bot))
bot.add_cog(welcome.Welcome(bot))
def get_reaction(reactions):
""" Returns the reaction, that is equal to the specified PIN_EMOJI,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment