zenafey commited on
Commit
b44cb3d
·
1 Parent(s): 6c2deee

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +2 -1
bot.py CHANGED
@@ -1,5 +1,6 @@
1
  import discord
2
  from discord.ext import commands
 
3
 
4
  bot = commands.Bot(command_prefix="!", intents=discord.Intents.all())
5
 
@@ -7,4 +8,4 @@ bot = commands.Bot(command_prefix="!", intents=discord.Intents.all())
7
  async def test(ctx):
8
  await ctx.reply(ctx.message.content)
9
 
10
- bot.run('MTEyNjkzNDQ1NDI0MjM4MTgzNQ.GkmPBx.UaNM2c2xu-IDldP3SpxVl7JvyBIF-4yrOrS9dM')
 
1
  import discord
2
  from discord.ext import commands
3
+ import os
4
 
5
  bot = commands.Bot(command_prefix="!", intents=discord.Intents.all())
6
 
 
8
  async def test(ctx):
9
  await ctx.reply(ctx.message.content)
10
 
11
+ bot.run(os.getenv('discord'))