Set members intent
This commit is contained in:
1 parent
94597b45ad
commit
6a56c941d8
1 file changed
+3
-1
@@ -46,7 +46,9 @@ OWNER_ID = 327126546970312739
|
|||||||
OCH_LOEH_SOUND = "assets/och_loeh.mp3"
|
OCH_LOEH_SOUND = "assets/och_loeh.mp3"
|
||||||
|
|
||||||
config_load()
|
config_load()
|
||||||
bot = commands.Bot(command_prefix=config.get('prefix'))
|
intents = discord.Intents.default()
|
||||||
|
intents.members = True
|
||||||
|
bot = commands.Bot(command_prefix=config.get('prefix'), intents=intents)
|
||||||
|
|
||||||
if 'LIBOPUS' in os.environ and not len(os.environ['LIBOPUS']) == 0:
|
if 'LIBOPUS' in os.environ and not len(os.environ['LIBOPUS']) == 0:
|
||||||
discord.opus.load_opus(os.environ['LIBOPUS'])
|
discord.opus.load_opus(os.environ['LIBOPUS'])
|
||||||
|
|||||||
Reference in new issue
Block a user