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
|
from discord.ext import commands
|
||||||
|
|
||||||
TOKEN = os.getenv("token")
|
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
|
# Remove the default !help action so we can use our own
|
||||||
bot.remove_command("help")
|
bot.remove_command("help")
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ image:
|
|||||||
repository: ldooks/dragon-bot
|
repository: ldooks/dragon-bot
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "148"
|
tag: "149"
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user