Adding intents to the bot

This commit is contained in:
Luke Robles 2022-04-25 12:22:14 -07:00
parent 519b398e3d
commit 9d6a11b882
2 changed files with 4 additions and 2 deletions

View File

@ -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")

View File

@ -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: ""