Spaces:
Runtime error
Runtime error
Update bot.py
Browse files
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(
|
|
|
|
| 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'))
|