not-lain commited on
Commit
c410fef
·
1 Parent(s): 0ded264

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -197,8 +197,10 @@ async def diffusion(ctx, pos_prompt: str="",neg_promt: str = "", img_url= None,i
197
  await ctx.respond(e)
198
 
199
 
200
- # setup create the falcon-180b-demo channel
201
- @bot.slash_command(name='setup',description='setup the bot')
 
 
202
  async def setup(ctx):
203
  """
204
  create the #falcon-180b-demo channel
 
197
  await ctx.respond(e)
198
 
199
 
200
+ # setup create the channel for the bot
201
+ @bot.hybrid_command(
202
+ name="setup",
203
+ description="setup the bot")
204
  async def setup(ctx):
205
  """
206
  create the #falcon-180b-demo channel