XtremeOwnage / WarBot

Warbot is a discord bot designed for the hustle-castle mobile phone game.
GNU General Public License v3.0
5 stars 2 forks source link

Better configurable greeting message #45

Closed Naxos84 closed 5 years ago

Naxos84 commented 5 years ago

Describe the solution you'd like When I'm configuring the greeting message via "bot, enable greeting #CHANNELNAME MESSAGE" I like to specify where the @Username is positioned.

i.e

bot, enabled greeting #MyWelcomeChannel Hello and welcome to my server

this would produce something like: $USER$, Hello and welcome to my server

but i like something like:

Hello $USER$ and welcome to my server

If the user placeholder (in the above case it is $USER$) is not present than use the current solution. So that the currently set message will not break.

XtremeOwnageDotCom commented 5 years ago

Templated messages will be enabled for both user join, and user leave messages.

The updates are being currently tested in DEVL, and will be rolled out to production today or tomorrow.

The guild setup dialog has been updated to account for the new changes as well.

The token will be {User}

XtremeOwnageDotCom commented 5 years ago

Implemented in production!