-
Notifications
You must be signed in to change notification settings - Fork 1
Bot Push Commands | Server Leadership
The most powerful of the bot push commands are only accessible to server members with the server leadership role id, which set in the .env file.
pushsetup "available slots" "ending date" "push time" "leader role name" "description of push" "(optional) inviter role name"
"available slots" - This is the number of slots in your Guild that will be open for visitors. This value must be a positive number.
"ending date" - This is just a string of text signaling to visitors when the push will be ending. The value can be any text.
"push time" - This is the number of minutes your visitors have to push in your guild before getting pinged and asked to leave. This value must be a positive number.
"leader role name" - The Discord server guild leader role name. Some guilds may decide to give this permission to the general guild role so that all members can monitor visitors. This value has to be exactly the same as the Discord role name.
"description of push" - Any text you feel would give your visitors a good idea about what the push is about. Any text is accepted.
"inviter role name" - This input is optional. If you wish a role to be pinged every time someone uses the signup
command, specify their Discord role name here. If the value is set to "bot" and the AHK_INVITER variable is set to true in the .env file, the bot will try to use the AHK script to send invites using your IOURPG client. It is important to note that currently, only one push can use the AHK script at a time. This value has to be exactly the same as the Discord role name.
Example functioning command
$pushsetup "2" "March 2nd" "30" "Guild Leader" "This is an example stone push!" "Guild Inviter"
Looks in the Discord channel to see if there is any push and deletes it.
Example functioning command
$pushdelete
Updates the guild inviter role name. Due to how powerful the AHK script is, only Server Leadership may change the inviter. If the value is set to "bot" and the AHK_INVITER variable is set to true in the .env file, the bot will try to use the AHK script to send invites using your IOURPG client. This makes the updateinviter command ideal to toggle the bot inviter on and off without restarting the bot. This value has to be exactly the same as the Discord role name.
Example functioning command
$updateinviter bot