Commit Graph

1125 Commits

Author SHA1 Message Date
Ske
5d15a973f1 Add customization of invite link client ID. Closes #77. 2019-06-15 12:03:07 +02:00
Ske
e66c815295 Remove unused function 2019-06-15 11:55:40 +02:00
Ske
1e1ef4495f Add Tupperbox importing support 2019-06-15 11:55:11 +02:00
Ske
9be7514fb9 Fix Newtonsoft.Json NuGet dependency 2019-06-15 11:02:46 +02:00
Ske
652afffb8c Add importing and exporting function 2019-06-14 22:48:19 +02:00
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
Ske
cd9a3e0abd Expand system time selection logic 2019-06-13 23:42:39 +02:00
Ske
72cb838ad7 Add system time zone command 2019-06-13 20:33:17 +02:00
Ske
6cfa4cb2e5 Add usage strings to switch commands 2019-06-13 17:07:49 +02:00
Ske
d109ca7b57 Add switch deletion command 2019-06-13 17:05:50 +02:00
Ske
7e9b7dcc98 Add switch commands for adding and moving 2019-06-13 16:53:04 +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
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