forked from TechWiz-3/newYearResolutionBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
38 lines (30 loc) · 1.05 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by #Zac the Wise#1381 with help from #iamkneel#2359
# Update created by Zac on 11/June
# fix migration bug in clear goals
# Version 6.1.0
from discord.ext import commands
from dotenv import load_dotenv
from os import getenv
from discord.utils import get
#from discord.commands import permissions
from discord import Intents
load_dotenv()
BOT_TOKEN = getenv("TOKEN")
DEV_GUILD_ID = 864438892736282625
PROD_GUILD_ID = 867597533458202644
intents = Intents.all()
bot = commands.Bot(command_prefix="goals!", intents=intents)
bot.load_extension('cogs.new_year_goal')
bot.load_extension('cogs.remind_me')
bot.load_extension('cogs.view_goals')
bot.load_extension('cogs.view_ids')
bot.load_extension('cogs.config_reminder_channel')
bot.load_extension('cogs.help')
bot.load_extension('cogs.stop_reminding')
bot.load_extension('cogs.goal_achieved')
bot.load_extension('cogs.edit_goal')
bot.load_extension('cogs.next_reminder')
bot.load_extension('cogs.change_reminder_interval')
bot.load_extension('cogs.clear_goals')
bot.load_extension('cogs.events')
bot.run(BOT_TOKEN)