1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-19 01:26:36 +02:00

Add "/run" to autocompleter and fix example Python script.

This commit is contained in:
jakob
2017-05-22 20:47:56 -04:00
parent 4f60d546e6
commit 22ea522baf
6 changed files with 70 additions and 5 deletions

View File

@ -20,6 +20,10 @@ def send_fortune(args):
count = int(args[0])
except ValueError:
toxic_api.display("Argument must be a number!")
return
if count < 0 or count > 20:
toxic_api.display("Argument is too large!")
name = toxic_api.get_nick()