didier/didier.py

20 lines
477 B
Python
Raw Normal View History

import discord
from dotenv import load_dotenv
from functions.prefixes import get_prefix
2021-06-19 20:11:55 +02:00
from settings import TOKEN
from startup.didier import Didier
if __name__ == "__main__":
load_dotenv(verbose=True)
# Configure intents (1.5.0)
intents = discord.Intents.default()
intents.members = True
client = Didier(command_prefix=get_prefix, case_insensitive=True, intents=intents)
2021-06-19 20:11:55 +02:00
if client.ipc is not None:
client.ipc.start()
2021-06-19 20:11:55 +02:00
client.run(TOKEN)