Skip to content

Commit 860c703

Browse files
committed
[main] Made bot run with latest version of the libs
1 parent 61930e5 commit 860c703

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

cogs/fun.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import discord
88
from discord.ext import commands
99

10-
from emoji import UNICODE_EMOJI
10+
# from emoji import UNICODE_EMOJI
1111

1212
from src.utils import user_only
1313

main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import json
66

7+
from discord import Intents
78
from discord.ext import commands
89

910
from cogs.omega import Omega
@@ -30,7 +31,9 @@ class Bot(commands.Bot):
3031
}
3132

3233
def __init__(self):
33-
super().__init__(config["PREFIX"])
34+
intents = Intents.default()
35+
intents.message_content = True
36+
super().__init__(config["PREFIX"], intents=intents)
3437

3538
self.description = "A bot for two Omega Discord servers."
3639
self.token = config["TOKEN"]

0 commit comments

Comments
 (0)