From 9d6a11b8821538a5e46772b5697e3c1713d291f5 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Mon, 25 Apr 2022 12:22:14 -0700 Subject: [PATCH] Adding intents to the bot --- app/bot.py | 4 +++- helm/values.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/bot.py b/app/bot.py index ba76c96e..a3f68731 100755 --- a/app/bot.py +++ b/app/bot.py @@ -7,7 +7,9 @@ import discord from discord.ext import commands TOKEN = os.getenv("token") -bot = commands.Bot(command_prefix="!") +intents = discord.Intents.default() +intents.members = True +bot = commands.Bot(command_prefix="!", intents=intents) # Remove the default !help action so we can use our own bot.remove_command("help") diff --git a/helm/values.yaml b/helm/values.yaml index fbabd884..dc4555e2 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -8,7 +8,7 @@ image: repository: ldooks/dragon-bot pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "148" + tag: "149" imagePullSecrets: [] nameOverride: ""