Added .forwardtochannel which will forward messages to the current channel. It has lower priority than fwtoall

This commit is contained in:
Kwoth
2022-10-17 22:18:55 +02:00
parent 3f9a3c4c18
commit 27ac948463
8 changed files with 80 additions and 18 deletions

View File

@@ -1257,6 +1257,10 @@ forwardtoall:
desc: "Toggles whether messages will be forwarded to all bot owners or only to the first one specified in the creds.yml file"
args:
- ""
forwardtochannel:
desc: "Toggles forwarding of non-command messages sent to bot's DM to the current channel"
args:
- ""
resetperms:
desc: "Resets the bot's permissions module on this server to the default value."
args:

View File

@@ -68,6 +68,8 @@
"fwall_stop": "I will forward DMs only to the first owner.",
"fwdm_start": "I will forward DMs from now on.",
"fwdm_stop": "I will stop forwarding DMs from now on.",
"fwch_start": "Any message sent to bot's DMs will be forwarded to this channel.",
"fwch_stop": "Messages sent to bot's DMs will no longer be forwarded to this channel.",
"greetdel_off": "Automatic deletion of greet messages has been disabled.",
"greetdel_on": "Greet messages will be deleted after {0} seconds.",
"greetdmmsg_cur": "Current DM greet message: {0}",