evaera / RoVer

This repo is RoVer V1, which is now deprecated and will no longer work. Get Rover V2 now: https://rover.link
https://rover.link
Apache License 2.0
145 stars 201 forks source link

Make join DM clear it is written by the server owner #313

Closed evaera closed 3 years ago

evaera commented 3 years ago

When we send the server's configured join dm, we should prefix it with:

You joined **[Server Name]**! Here's a message from the server owners:
PhoenixShay commented 3 years ago

By "we" do you mean "someone other than me"

Rythian2277 commented 3 years ago

"we" = "code slaves"

wilyt1 commented 3 years ago

I don't know if this will work or not.

// Old
    return Util.formatDataString(this.getSetting('welcomeMessage'), data, member)

// New
    return Util.formatDataString(`You joined **%DISCORDNAME%**! Here's a message from the server owners: ${this.getSetting('welcomeMessage')}`, data, member)

https://github.com/evaera/RoVer/blob/73ee12cb0ce9a9e553d3c7ae982fe197f87df096/src/DiscordServer.js#L382-L384