Advertisement
Guest User

Untitled

a guest
Feb 15th, 2023
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. @bot.slash_command(name = "test", description = "Gets the bot to play chess with you. Choose a preset skill level or input your own.")
  2. async def test(interaction: nextcord.Interaction, color: str, skillLevel: str):
  3. # if chessGameNum >= 6:
  4. # await nextcord.channel.create_thread(name=f"Chess game number {chessGameNum}", type=nextcord.ChannelType.public_thread)
  5. # chessGameNum += 1
  6. # else:
  7. await interaction.response.send_message('Please stop creating chess games, my ram doesn\'t grow on trees you know?')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement