Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Server: JoinLeave Notifications

ComputerMaster1st edited this page Nov 30, 2019 · 6 revisions

User Join/Leave Notifications

This module simply posts a welcome/leave message to users who join/leave the server. The number of messages that you can add is unlimited. Most bots only allow for 1 join & leave message. Railgun uses the same principle as Discord’s welcome messages. Meaning it’s multiple messages being selected at random.

All commands within this module does not require any permissions. However, only users with the Manage Guild permission can configure this module.

[-] "joinleave" can be shorted to "jl".

[-] "add" can be shortened to "+".

[-] "remove" can be shortened to "-".


rgjoinleave

Turn on/off the notifications and set the channel this command was executed as the join/leave notifications channel. Use this command again in the same channel to turn it off. To change channels, simply use this command in the desired channel.


rgjoinleave show

Show current join/leave configuration with all join & leave messages.


rgjoinleave add joinmsg <msg>

Add a join message. Join Messages can utilise 2 different tags. <user> to represent the user who joined, and <server> to show the server name.


rgjoinleave add leavemsg <msg>

Add a leave message. Leave Messages can only utilise 1 tag. <user> to represent the user who left. No mentioning will occur since the user has left the server so it’s pointless.


rgjoinleave remove joinmsg <id>

Remove a join message. The number indicated at the start of each message when shown via rgjoinleave show, represents the message’s Id.


rgjoinleave remove leavemsg <id>

Remove a leave message. The number indicated at the start of each message when shown via rgjoinleave show, represents the message’s Id.


rgjoinleave deleteafter [minutes]

Set the amount of time to wait before deleting the join/leave message.

  • 0 = To disable this

rgjoinleave sendtodm

Configure join/leave notifications module to either DM the user with the join/leave message or simply post to the configured channel.


rgjoinleave reset

Resets & disables join/leave notifications. All data will be lost for this module.