mirror of
https://github.com/uhIgnacio/heroku-example.git
synced 2024-08-14 22:47:00 +00:00
smoll fix
This commit is contained in:
parent
c757c686ac
commit
af81e87aed
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ PREFIX = os.environ['PREFIX']
|
||||||
intents = nextcord.Intents.default()
|
intents = nextcord.Intents.default()
|
||||||
intents.members = True
|
intents.members = True
|
||||||
|
|
||||||
bot = commands.Bot(command_prefix='$', intents=intents)
|
bot = commands.Bot(command_prefix=PREFIX, intents=intents)
|
||||||
|
|
||||||
@bot.event()
|
@bot.event()
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
|
@ -16,4 +16,4 @@ async def on_ready():
|
||||||
async def ping(ctx):
|
async def ping(ctx):
|
||||||
await ctx.reply('Pong!')
|
await ctx.reply('Pong!')
|
||||||
|
|
||||||
bot.run(token)
|
bot.run(TOKEN)
|
||||||
|
|
Loading…
Reference in a new issue