Skip to content

Commit 036ad17

Browse files
committed
Less code, yes
1 parent f70c9bf commit 036ad17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@
55
from utils.data import Bot, HelpFormat
66

77
config = default.get("config.json")
8-
intents = discord.Intents()
9-
intents.members = True
108
print("Logging in...")
119

1210
bot = Bot(
1311
command_prefix=config.prefix,
1412
prefix=config.prefix,
1513
command_attrs=dict(hidden=True),
1614
help_command=HelpFormat(),
17-
intents=intents
15+
intents=discord.Intents(members=True)
1816
)
1917

2018
for file in os.listdir("cogs"):

0 commit comments

Comments
 (0)