|
@@ -1,5 +1,4 @@
|
|
|
import random
|
|
|
-import json
|
|
|
|
|
|
from rollbot import as_command, Message, RollbotFailure, Command, Attachment
|
|
|
from rollbot.injection import (
|
|
@@ -55,7 +54,16 @@ def choice(args: Args, arg_list: ArgList):
|
|
|
|
|
|
@as_command
|
|
|
def inquire():
|
|
|
- opts = "Yes", "No", "Maybe", "Perhaps", "I guess", "Probably shouldn't", "rand"
|
|
|
+ opts = (
|
|
|
+ "Yes",
|
|
|
+ "No",
|
|
|
+ "Maybe",
|
|
|
+ "Perhaps",
|
|
|
+ "I guess",
|
|
|
+ "Probably shouldn't",
|
|
|
+ "Ask again later",
|
|
|
+ "rand",
|
|
|
+ )
|
|
|
chosen = random.choice(opts)
|
|
|
if chosen == "rand":
|
|
|
chosen = str(random.randrange(10))
|
|
@@ -158,4 +166,4 @@ def finchat(cmd: Command):
|
|
|
|
|
|
@as_command
|
|
|
def reply(msg: Message):
|
|
|
- return "Replying!", Attachment(name="reply", body=msg.message_id)
|
|
|
+ return "Replying!", Attachment(name="reply", body=msg.message_id)
|