diff --git a/cogs/fun.py b/cogs/fun.py index 3e0efe3..797314a 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -7,7 +7,7 @@ import discord from discord.ext import commands -from emoji import UNICODE_EMOJI +# from emoji import UNICODE_EMOJI from src.utils import user_only diff --git a/main.py b/main.py index d858e6d..9baa690 100644 --- a/main.py +++ b/main.py @@ -4,6 +4,7 @@ import json +from discord import Intents from discord.ext import commands from cogs.omega import Omega @@ -30,7 +31,9 @@ class Bot(commands.Bot): } def __init__(self): - super().__init__(config["PREFIX"]) + intents = Intents.default() + intents.message_content = True + super().__init__(config["PREFIX"], intents=intents) self.description = "A bot for two Omega Discord servers." self.token = config["TOKEN"]