Advertisement
Guest User

Untitled

a guest
Aug 13th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
DCS 0.30 KB | None | 0 0
  1.  
  2. logging.basicConfig(level=logging.ERROR)
  3. client = discord.Client()
  4. bot = commands.Bot(command_prefix="car_")
  5.  
  6. @bot.command()
  7. async def submit(ctx, arg): #ctx-metadata, arg-MESSAGE following command
  8.         await ctx.send("yes")
  9. #async def submit2(ctx, arg):
  10. #       await ctx.send("yes hello")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement