forked from nikkisquared/DelayBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.py
30 lines (26 loc) · 1.18 KB
/
help.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!usr/bin/python
# stores the lengthy help_string that explains usage
help_string = """
Basic Commands
DelayBot queue --> show queued messages
DelayBot unqueue <id> --> unqueue message with id
DelayBot unqueue ALL --> unqueue all messages
DelayBot ping --> delaybot are you there?
DelayBot help --> what you are reading now
replies are always private messages- please keep most DB calls there
also, saying "DelayBot" is not necessary from a private message
Delay A Message:
Method A: Navigate to a stream and topic
DelayBot <time> <message>
Method B: Send DelayBot a private message
(DelayBot) <time> <stream> <topic> <message>
streams or topics with spaces need to be replaced with underscores
ie DelayBot <time> 455_Broadway hey_everyone <message>
Accepted <time> Formats
block: 1h45m30s || 1d --> now + 1hr 45mins 30sec || now + 1day
24hr: 08:45:59 || 23:45
12hr: 8:45:59am || 12:45pm
single: 8am || 12pm
valid meridiems: am, a.m., AM, A.M.
note that DelayBot uses Eastern Time, as Recurse Center is in New York
"""