Advertisement
Thelorgoreng

Multiply prefix [ChatangoBot]

Sep 5th, 2015
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. if message.body[0] == "~" or message.body[0] == "/" or message.body[0] == ">" or message.body[0] == "#" or message.body[0] == "^" or message.body[0] == "^" or message.body[0] == "*":   ##Here is the Prefix part
  2.       data = message.body[1:].split(" ", 1)
  3.       if len(data) > 1:
  4.         cmd, args = data[0], data[1]
  5.       else:
  6.         cmd, args = data[0], ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement