Spaces:
Runtime error
Runtime error
Create bot.py
Browse files
bot.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import discord
|
2 |
+
from discord.ext import commands
|
3 |
+
|
4 |
+
bot = commands.Bot(command_prefix="!", intents=discord.Intents.all())
|
5 |
+
|
6 |
+
@bot.command()
|
7 |
+
async def test(ctx):
|
8 |
+
await ctx.reply(ctx.message.content)
|
9 |
+
|
10 |
+
bot.run('MTEyNjkzNDQ1NDI0MjM4MTgzNQ.GkmPBx.UaNM2c2xu-IDldP3SpxVl7JvyBIF-4yrOrS9dM')
|