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:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user