Commit Graph

1162 Commits

Author SHA1 Message Date
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
Ske
4c6790432b Add system linking commands 2019-05-21 23:40:26 +02:00
Ske
8b8ec80944 Move database/mapper setup code to Core 2019-05-19 22:03:45 +02:00
Ske
08afa2543b Add member avatar edit command
This also refactors a large portion of the DI toolchain, since
I discovered that you shouldn't be reusing IDbConnection objects.

Instead, most services and stores are now declared transient, and
the webhook cache has been moved to a database-independent storage
singleton by itself.
2019-05-17 01:23:09 +02:00
Ske
1824bfd6bb bot: fix proxy service testing members with no tags set 2019-05-13 23:12:58 +02:00
Ske
72a2fadff8 bot: add member deletion command 2019-05-13 23:08:44 +02:00
Ske
5fc91d895c bot: add proxy tag edit command 2019-05-13 22:56:22 +02:00
Ske
62dc2ce78e bot: add birthday command 2019-05-13 22:44:49 +02:00
Ske
b42e052fee bot: add member lookup command 2019-05-12 00:44:02 +02:00
Ske
c63e20ca50 bot: fix command dispatch 2019-05-12 00:22:48 +02:00
Ske
cf2598baa5 bot: add color change command 2019-05-11 23:56:56 +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
Ske
12e14c420c web: fix a few small issues 2019-05-08 21:39:30 +02:00
Ske
6cd36e2c5e web: add Docker support for web 2019-05-08 21:16:41 +02:00
Ske
95a7e5e821 web: add basic ASP.NET Core web interface 2019-05-08 20:53:36 +02:00
Ske
495edc3c5e bot: use MemberStore in member type reader 2019-05-08 20:53:01 +02:00
Ske
9b49f22048 bot: enable .NET configuration management 2019-05-08 20:08:56 +02:00
Ske
c5d2b7c251 refactor project structure 2019-05-08 00:06:27 +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
23d8592394 bot: add member pronouns command 2019-04-29 20:36:09 +02:00
Ske
e55b7f6b71 bot: add member description command 2019-04-29 20:33:21 +02:00
Ske
6fe3154a10 bot: refactor length limits to use constants 2019-04-29 20:28:53 +02:00
Ske
bf8387cf52 bot: add invite command 2019-04-29 20:21:16 +02:00
Ske
6be9a6a89a bot: only show proxy tags in list when present 2019-04-29 19:52:07 +02:00
Ske
c359935855 bot: sort member list alphabetically 2019-04-29 19:44:17 +02:00
Ske
9a5a5ce34f bot: add member renaming command 2019-04-29 19:43:09 +02:00
Ske
ff78639ac0 bot: add usage for commands 2019-04-29 17:44:20 +02:00
Ske
02dfa35a81 bot: add system member list commands 2019-04-29 17:42:09 +02:00
Ske
8359df09e9 bot: add member creation command 2019-04-27 16:30:34 +02:00
Ske
5590cfc90f bot: fix handling of tag supersets (see #84 comments) 2019-04-26 18:21:16 +02:00
Ske
876dcc0145 bot: add system deletion command 2019-04-26 18:15:33 +02:00
Ske
b5d87290db bot: finish tag setting command 2019-04-26 17:14:20 +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
Ske
b8065e2065 bot: periodically update game status 2019-04-25 18:50:07 +02:00
Ske
21b16667df bot: move log channel embed to embed service 2019-04-22 17:10:18 +02:00
Ske
467719283f bot: fix showing id instead of hid on system card 2019-04-21 19:11:05 +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