Commit Graph

279 Commits

Author SHA1 Message Date
xBelladonna
15ccc4e27a Allow user to delete export file from channel 2019-06-14 14:45:57 +02:00
xBelladonna
c63a84decd Add fallback to export when user has DMs disabled
Try to DM the user with the export file, and fall back to posting it in the channel if forbidden.
Uses reactions to confirm whether the user wants to have it posted in the channel.
2019-06-14 14:45:57 +02:00
xBelladonna
1ec0683713 Display front history with pk;switch
Display system front history when the command `pk;switch` is issued without any arguments
2019-06-08 04:01:22 +02:00
xBelladonna
ebc8ab1738 Add aliases for command fronthistory
Add aliases `fh`, `history` and `switches`, executed as `pk;s history`
2019-06-08 04:01:22 +02:00
Bella | Nightshade
6ae24cbe92 Add proxy tags to full system list (#100)
* Add proxy tags to full system list

* List proxy tags inside code block
2019-06-07 00:10:01 +02:00
Ske
8b19f25ed2 Split command segments on any whitespace, not just spaces 2019-05-30 20:24:17 +02:00
xBelladonna
9dd3af02b4 Update help file
Add command aliases for frontpercent to help file and fix typos/mistakes
2019-05-25 17:43:44 +02:00
xBelladonna
ccbcddc444 Add frontpercent command aliases
Added commands:
pk;system front%
pk;system fp
2019-05-25 17:43:44 +02:00
Bella | Nightshade
2648f208da bot: add member count to system card (#91)
* bot: add member count to system card

* bot: fix potential crash on edge case

Fixes a potential crash if a user queries the system card of a system with no members

* bot: tidy up code

* bot: move member count to embed title/Member field

Displays the member count (between parentheses) in the embed title if the system is named, otherwise shows it in the Member field title (again between parentheses)

* bot: move member count to Member field title entirely

Removed the member count from the embed title and display it in the Member field title within parentheses in all cases
2019-05-11 12:19:34 +02:00
Bella | Nightshade
5124d263d5 bot: yes (#96) 2019-05-10 19:18:44 +02:00
Bella | Nightshade
e3d4bf17c2 bot: update help messages to include set-avatar-by-attachment function (#90)
* bot: fix a typo in root help message

* bot: update help to reflect new avatar set method

Updates the root help message and the avatar-specific help messages to include the new set avatar by message attachment function
2019-05-04 13:45:34 +02:00
Grey Himmel
9cc1d899a6 bot: get avatar url from attachment if not given directly
* Update member_commands.py

Add ability to get avatar image from an attachment

* Update system_commands.py

Adding ability to get avatar from an attachment
2019-05-03 14:50:46 +02:00
Ske
2c0a588fcc bot: fix removing question mark reactions on query 2019-05-03 09:00:39 +02:00
Grey Himmel
07eeb3085b Remove question mark reaction (#86)
* Update __init__.py

Setting `do_query_message` to accept full payload

* Update proxy.py

Adding code to remove question mark reaction after sending the message card

* Update proxy.py

Fixing type declaration in recent changes

* Fixing message grab

Getting the channel the reaction was handled in and changing the `fetch_message` call to grab from the channel

* Adding back pronouns option

Not sure why it was removed, honestly

* Fixing issues caused by PK using an outdated version of the lib. Whoops :')
2019-05-03 08:10:46 +02:00
Ske
5590cfc90f bot: fix handling of tag supersets (see #84 comments) 2019-04-26 18:21:16 +02:00
Ske
0590dd058f bot: trim the help message under the character limit 2019-04-26 00:08:18 +02:00
Ske
0315c04b84 bot: update help message to include invite link note 2019-04-25 19:02:49 +02:00
Ske
edf3daad42 bot: change help message explaining plurality to a more generic explanation of the bot 2019-04-25 18:57:28 +02:00
Ske
50f1186d25 api: take token in Authorization header rather than X-Token 2019-04-25 18:53:15 +02:00
xBelladonna
e85776fae6 Handle hid collision case 2019-04-21 18:51:52 +02:00
xBelladonna
a51fe5e759 Don't drink and code kids 2019-04-21 16:27:51 +02:00
xBelladonna
3fae4965e8 Curse my oversight 2019-04-21 16:27:51 +02:00
Ske
b5d1b87a72 web: reduce bundle size 2019-04-19 20:41:18 +02:00
Ske
3d6fa86518 Add unfinished website section 2019-04-19 18:08:58 +02:00
xBelladonna
d081be838a Add server tracker 2019-04-17 14:13:48 +02:00
Ske
875729258e Actually make a tag, not just dump the ID... *facepalm* 2019-04-15 17:11:45 +02:00
Ske
f978029137 Add clickable account tags on pk;system card 2019-04-15 12:42:20 +02:00
Ske
b7d648935d Add clickable account tags in message cards 2019-04-14 23:24:49 +02:00
Ske
6c3c6eae4d Add viewing member pronouns on message query. Closes #73. 2019-04-14 22:22:53 +02:00
Grey Himmel
e1c1ea2bca Update embeds.py
Cosmetic change, mentions the new listing features
2019-04-13 15:32:20 +02:00
xBelladonna
71f3738849 Oops pt. 1 2019-04-12 16:38:27 +02:00
xBelladonna
f49c2baaff Add more aliases and update help 2019-04-11 10:29:56 +02:00
xBelladonna
52e1c06d1b Add command aliases 2019-04-11 10:29:56 +02:00
Ske
0cc55e5717 Remove broken subcommand pk;member help 2019-04-09 22:14:17 +02:00
Ske
54ba5adaa2 Embiggen member name in short list 2019-04-09 22:12:49 +02:00
Ske
146787f665 Fix short member list rendering with prefix/suffixless members 2019-04-09 22:11:47 +02:00
Ske
badf784e01 Add help information for reworked system list command 2019-04-09 22:09:46 +02:00
Ske
bfdb629aa5 Change format of short member list a bit 2019-04-09 22:08:27 +02:00
Grey Himmel
2efaca706f Adding system shortlist (#69)
* Update embeds.py

Adding short list embed

* Update system_commands.py

Adding short list and full list
2019-04-09 21:36:04 +02:00
Ske
94dcb91bd3 Add improved command help functionality 2019-03-30 21:27:57 +01:00
Bella | Nightshade
9b7e331c5b Update token disclaimer, add checkmark reaction on token command issue (#67)
* Update token disclaimer, add checkmark reaction on token command issue

* Changed reaction to message confirmation
2019-03-30 19:35:13 +01:00
Ske
c37e7f4ee1 Add message querying by reaction 2019-03-30 18:11:53 +01:00
Grey Himmel
d0c9a24521 Update embeds.py (#63)
Cosmetic update, adds missing asterisk
2019-03-28 10:50:11 +01:00
Bella | Nightshade
8e3d91d5ae Make API token send in new message for mobile-friendly copying 2019-03-28 10:49:55 +01:00
Bella | Nightshade
e9792bd5ec Add command notes to member help output, clean up pk;export channel msg 2019-03-28 10:49:55 +01:00
Bella | Nightshade
a67ed70539 Add API endpoint to query current fronters (/s/<hid>/fronters) 2019-03-28 10:49:55 +01:00
Grey Himmel
bbb3e66fcb Update import_commands.py (#62)
Cosmetic update, gives correct command to view members
2019-03-28 10:49:28 +01:00
Ske
bde1df6868 Enable sharding 2019-03-26 19:21:29 +01:00
Ske
c0718a1516 Fix crash on member listing with member without description 2019-03-23 17:42:18 +01:00
Bella | Nightshade
0266db5589 Added ellipsis truncation to system list descriptions 2019-03-23 15:15:21 +01:00