Merge branch 'daddy' of https://git.ablecorp.us/elfein/mpsc_bot into daddy
commit
c8ee19af6d
17
README.md
17
README.md
|
@ -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`
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue