mpsc_bot/README.md

35 lines
644 B
Markdown
Raw Permalink Normal View History

2022-01-24 18:33:09 +00:00
*A bot for copying a channel's messages, optionally including those in threads, to another channel.*
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
**Commands:**
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
Gives information on how to use this bot's commands.
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
`help`
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
Sets which channels to use as source or target.
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
`set (source | s | target | t) <channel id> [(source | s | target | t) <channel id>]`
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
Tells the bot whether or not to copy from threads. Default is true.
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
`weave (false | f | true | t)`
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
Sets source and target to `None`.
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
`reset`
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
Deletes info messages sent by this bot and command messages issued by users.
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
`clean`
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
Deletes all messages sent by this bot.
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
`flush`
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
Stops the bot.
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
`stop`
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
Begins the bot.
2022-01-24 20:02:01 +00:00
2022-01-24 18:33:09 +00:00
`begin`