Commit Graph

1836 Commits

Author SHA1 Message Date
Bella | Nightshade 214a6d5a49 Fix clear avatar bug
Fixes a bug in member_avatar() where the bot will try to check for an attachment via list index when attachments do not exist.
2019-06-29 12:59:44 +02:00
Ske 7eeaea39fe Proxy messages with a mention before tags 2019-06-27 10:38:45 +02:00
Ske 53037f7d52 Add message querying by ? reaction 2019-06-21 14:13:56 +02:00
Ske 93fff14053 Fix skipping proxying of members with no tags 2019-06-21 13:53:19 +02:00
Ske 6e7950722d Fix log channel clearing 2019-06-21 13:52:34 +02:00
Ske 2c3c46002a Add message lookup and log channel setting commands 2019-06-21 13:49:58 +02:00
Ske 06edc9d61e Add API token commands 2019-06-20 21:15:57 +02:00
Ske 7a10a28019 Only show the two most significant delta-time components 2019-06-15 12:49:30 +02:00
Ske 5dafc4fbd4 Add front history command 2019-06-15 12:43:35 +02:00
Ske f4a53ce815 Refactor date/time format constants 2019-06-15 12:33:24 +02:00
Ske fa5a616716 Add system fronter command 2019-06-15 12:19:44 +02:00
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