1
0
Fork 0
Commit Graph

29 Commits

Author SHA1 Message Date
Juhani Krekelä fc19e7c442 Allow multi-word names for bots 2020-06-24 04:01:58 +03:00
Juhani Krekelä 4357ea6510 Add a concept of deck namespaces 2020-04-09 22:08:16 +03:00
Wolfgang Müller 2f8fb69dbf Extend the usage function and add descriptions for commands
User-facing help text is now kept in a dictionary where command tuples
map to help entries. This greatly simplifies maintenance should more
commands be added in the future.

Additionally, every command now has a short description that serves to
give players a quick overview of its functionality.
2019-10-12 13:07:34 +02:00
hydraz 221b740bce add a !jape = !card command 2019-10-11 21:16:00 +03:00
Wolfgang Müller b38912b41d Add support for a random pick from a selection of cards
!card now accepts a comma-separated list of numbers from which it will
select one randomly, with equal probability. This selection is made
before the card event is sent out and is fully transparent to the rest
of the game logic.
2019-05-13 22:57:21 +03:00
Juhani Krekelä 7365619fcb arg = args() → args = arg() 2019-05-12 14:32:52 +03:00
Juhani Krekelä c688acf55e Split usage info into its own function and use that to display usage if !command is misused 2019-05-12 14:30:13 +03:00
Juhani Krekelä 1ffb82ebc1 Add !redeal 2019-05-11 20:55:40 +03:00
Juhani Krekelä f63dc2565b !join message 2019-05-10 21:46:39 +03:00
Juhani Krekelä 1e5eb46239 Make bot name optional 2019-05-10 19:54:30 +03:00
Juhani Krekelä ee7d3baa9e [###cards] → ###cards, for real this time 2019-05-10 19:34:04 +03:00
Juhani Krekelä fab9ba14d4 Rando! 2019-05-10 19:25:55 +03:00
Juhani Krekelä d596d55eff [###cards] → ###cards, so ppl don't think it's a card in their hand 2019-05-09 10:35:34 +03:00
Juhani Krekelä 819803d998 Add !kick 2019-05-07 12:05:59 +03:00
Juhani Krekelä 9bdc8fdf8c Remove cards from removed deck, add !origins 2019-05-06 19:37:29 +03:00
Juhani Krekelä 3d29e2c994 Do +v/-v 2019-05-06 16:00:55 +03:00
Juhani Krekelä 23d681833c Don't try to identify with no password 2019-05-06 15:10:54 +03:00
Juhani Krekelä 91bea13796 Prefix notices with [#chan] 2019-05-06 14:50:35 +03:00
Juhani Krekelä 61a2fdd095 Increase wait before attempting to join channels 2019-05-06 14:35:10 +03:00
Juhani Krekelä 344f5314ca No more #debg 2019-05-06 14:31:19 +03:00
Juhani Krekelä 2f33f431e2 Add presets 2019-05-06 14:29:34 +03:00
Juhani Krekelä 55e27fd94e Do line wrapping for long messages 2019-05-06 14:13:13 +03:00
Juhani Krekelä 6541323fa6 Get all events hooked up 2019-05-06 13:50:27 +03:00
Juhani Krekelä e61e45794c Start integrating gameloop.py into the bot 2019-05-06 12:41:12 +03:00
Juhani Krekelä b2ca8a0599 Only pass bytestrings (and not bytearrays) to user code 2018-06-14 10:50:30 +03:00
Juhani Krekelä 03f0011e62 Add botcmd.on_quit hook for bot cleanup 2018-01-20 16:54:13 +02:00
Juhani Krekelä 002f1eecf8 Read config from a configuration file 2018-01-03 18:08:24 +02:00
Juhani Krekelä 1081a6d092 Add botcmd.on_connect hook, to allow better control over bot bringup 2018-01-02 18:31:23 +02:00
Juhani Krekelä a0b4f51fef Add a stub botcmd.py 2017-09-06 20:47:32 +03:00