Merge branch 'daddy' of https://git.ablecorp.us/elfein/mpsc_bot into daddy

daddy
Elfein Landers 2022-01-25 17:20:11 -08:00
commit c8ee19af6d
2 changed files with 18 additions and 0 deletions

View File

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

View File

@ -319,6 +319,7 @@ async fn clean(ctx: &Context, msg: &Message) -> CommandResult {
#[command]
#[only_in(guilds)]
#[owners_only]
#[aliases("toilet")]
#[usage("flush")]
/// Deletes all messages sent by this bot.
async fn flush(ctx: &Context, msg: &Message) -> CommandResult {