Commit Graph

31 Commits

Author SHA1 Message Date
Elnath 77678878cc Vote channel no longer exist. Announcements channel used instead 2021-07-01 14:52:48 +02:00
Elnath b4bad89089 Game: messages with player mentions now have permission to ping players to fix undefined-user problem on mobile 2021-06-21 23:27:02 +02:00
Elnath a00120d559 Added possibility to cancel a legislative phase 2021-06-20 21:35:14 +02:00
Elnath 45afcee8fb Added possibility to cancel a running vote 2021-06-20 21:22:51 +02:00
Elnath daa2a094f2 Game: replaced logging.debug with logger.debug 2021-06-20 21:10:09 +02:00
Elnath b92ab9ce2f Small improvements on vote casting 2021-06-20 21:08:19 +02:00
Elnath 41af88bdb1 Game: annoucning when the deck is shuffled 2021-06-14 01:12:36 +02:00
Elnath b6184624f8 Implemented veto power 2021-06-14 01:08:33 +02:00
Elnath d06954b1a3 Implemented player killing 2021-06-13 20:20:49 +02:00
Elnath cc4990093e Added possibility to automatically end vote once everybody has voted 2021-06-13 19:59:08 +02:00
Elnath a9b9c4cbe7 Stop vote: mention gm as well as players in announcement 2021-06-13 19:33:56 +02:00
Elnath 532b81fa54 Implemented chaos counter for failed votes 2021-06-13 19:26:56 +02:00
Elnath a9e82aeabd Game creation: send a welcome message to each player channel 2021-06-13 18:45:57 +02:00
Elnath 0792753673 Game creation: shuffle players and announce play order 2021-06-13 18:40:23 +02:00
Elnath ef65c2dda6 GM and observer roles created by the bot on game start 2021-06-12 21:16:10 +02:00
Elnath 15945d839c Game: using asyncio tasks to run in parallel operation that do not need to be sequential 2021-06-12 19:09:12 +02:00
Elnath 867f7c48eb Better function to announce when a policy is enacted 2021-06-11 01:20:30 +02:00
Elnath 3bc3077de8 Command to peek top three cards 2021-06-11 01:07:52 +02:00
Elnath ad439faed0 Game: decorator to save config after end of method 2021-06-11 00:55:34 +02:00
Elnath 4e825e10ce Draw and enact policies for legislative step 2021-06-11 00:45:13 +02:00
Elnath f6d8bcb955 Game: renamed started_only decorator to game_started 2021-06-10 23:50:38 +02:00
Elnath 19e2811823 Implemented casting votes and ending the vote 2021-06-10 01:32:06 +02:00
Elnath 5f20403b9b Added start vote and fixed deocrator bug 2021-06-10 00:37:25 +02:00
Elnath 27c45f863f Game: decorator for raising explicit exception on methods that need the game to be started 2021-06-09 23:53:09 +02:00
Elnath 8d8b0bc4b9 Game: fixed unused param in delete function 2021-06-09 23:38:33 +02:00
Elnath b9d5b17954 Start and delete game: check if the user has rights to execute the command 2021-06-09 23:21:10 +02:00
Elnath a5b05e81ad Storing guild object in game for easier access to discord objects 2021-06-09 23:03:58 +02:00
Elnath aae877693a Typos and reformat 2021-06-08 01:56:58 +02:00
Elnath f395e3561b Added delete game command 2021-06-08 01:54:36 +02:00
Elnath c42f017241 Added start game command 2021-06-08 01:41:18 +02:00
Elnath 3673a10669 Added GameFiles classes skeletons 2021-06-08 00:52:05 +02:00