Adding intents to the bot
This commit is contained in:
parent
519b398e3d
commit
9d6a11b882
@ -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")
|
||||
|
||||
|
@ -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: ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user