Spaces:
Paused
Paused
Update bot_main.py
Browse files- bot_main.py +9 -0
bot_main.py
CHANGED
|
@@ -97,4 +97,13 @@ async def pick(ctx, channel_name:str="",other_user:str=""):
|
|
| 97 |
async def join(ctx):
|
| 98 |
await ctx.send(f"https://sync-tube.de/room/mIzZnHv8", delete_after=100)
|
| 99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
bot.run(os.getenv('BOT_TOKENS'))
|
|
|
|
| 97 |
async def join(ctx):
|
| 98 |
await ctx.send(f"https://sync-tube.de/room/mIzZnHv8", delete_after=100)
|
| 99 |
|
| 100 |
+
|
| 101 |
+
def get_my_go_solgan(topic):
|
| 102 |
+
return "為甚麼要唱春日影?"
|
| 103 |
+
@bot.hybrid_command(name="重力場",description="重力發言")
|
| 104 |
+
@app_commands.describe(topic="主題")
|
| 105 |
+
async def join(ctx,topic):
|
| 106 |
+
messege=get_my_go_solgan(topic)
|
| 107 |
+
await ctx.send(f'## {messege}', delete_after=100)
|
| 108 |
+
|
| 109 |
bot.run(os.getenv('BOT_TOKENS'))
|