smoll fix

This commit is contained in:
igna 2021-08-29 13:54:46 -04:00 committed by GitHub
parent c757c686ac
commit af81e87aed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ PREFIX = os.environ['PREFIX']
intents = nextcord.Intents.default()
intents.members = True
bot = commands.Bot(command_prefix='$', intents=intents)
bot = commands.Bot(command_prefix=PREFIX, intents=intents)
@bot.event()
async def on_ready():
@ -16,4 +16,4 @@ async def on_ready():
async def ping(ctx):
await ctx.reply('Pong!')
bot.run(token)
bot.run(TOKEN)