From 29030a08509651b5e74f900865317f3260a983a7 Mon Sep 17 00:00:00 2001 From: MounderFod Date: Tue, 31 Aug 2021 18:14:15 +0100 Subject: Change nextcord to direct git branch --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 96e273e..ecbe82b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ python-dotenv == 0.19.0 requests ~= 2.26.0 jishaku ==2.2.0 -nextcord~=2.0.0a1 \ No newline at end of file +git+git://github.com/nextcord/nextcord@master -- cgit 1.4.1-2-gfad0 From 93f1d305858c97030fbeb148aeb84152389441e7 Mon Sep 17 00:00:00 2001 From: MounderFod Date: Tue, 31 Aug 2021 21:04:01 +0100 Subject: Add some intents stuff --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index f6145e9..f48d32a 100644 --- a/bot.py +++ b/bot.py @@ -5,7 +5,8 @@ from dotenv import load_dotenv import bot_utils load_dotenv() -bot = commands.Bot(command_prefix="t!", activity=nextcord.Activity(name="for commands", type=nextcord.ActivityType.watching)) +intents = discord.Intents(members=True, presences=True) +bot = commands.Bot(command_prefix="t!", activity=nextcord.Activity(name="for commands", type=nextcord.ActivityType.watching), intents=intents) bot.help_command = bot_utils.MyHelpCommand(command_attrs={'hidden':True}) @bot.event -- cgit 1.4.1-2-gfad0 From 4ed4b84977de2ee14964f01292996e7cbf77e1c8 Mon Sep 17 00:00:00 2001 From: MounderFod Date: Tue, 31 Aug 2021 21:06:21 +0100 Subject: idiot --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index f48d32a..2e03cb7 100644 --- a/bot.py +++ b/bot.py @@ -5,7 +5,7 @@ from dotenv import load_dotenv import bot_utils load_dotenv() -intents = discord.Intents(members=True, presences=True) +intents = nextcord.Intents(members=True, presences=True) bot = commands.Bot(command_prefix="t!", activity=nextcord.Activity(name="for commands", type=nextcord.ActivityType.watching), intents=intents) bot.help_command = bot_utils.MyHelpCommand(command_attrs={'hidden':True}) -- cgit 1.4.1-2-gfad0 From db5871b0bfc75a052f20afdcfde312f7e2c14dc4 Mon Sep 17 00:00:00 2001 From: MounderFod Date: Tue, 31 Aug 2021 21:09:09 +0100 Subject: Never mind --- bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 2e03cb7..f6145e9 100644 --- a/bot.py +++ b/bot.py @@ -5,8 +5,7 @@ from dotenv import load_dotenv import bot_utils load_dotenv() -intents = nextcord.Intents(members=True, presences=True) -bot = commands.Bot(command_prefix="t!", activity=nextcord.Activity(name="for commands", type=nextcord.ActivityType.watching), intents=intents) +bot = commands.Bot(command_prefix="t!", activity=nextcord.Activity(name="for commands", type=nextcord.ActivityType.watching)) bot.help_command = bot_utils.MyHelpCommand(command_attrs={'hidden':True}) @bot.event -- cgit 1.4.1-2-gfad0