Bots: Difference between revisions
Johnball589 (talk | contribs) Created page with "Bots are a very useful part of Electron, bots are powerful automation that can do stuff for moderation, fun and other stuff. =='''Making A Bot '''== Making a bot is easy in Electron. Go to guilds settings and click “Bots”, you will see a default bot and a button to create a bot. You can change the bots profile picture, status and about me. == '''Bot Coding''' == Flows are a way for bots to do functions. Flows are really simple and easy to use. Bots can also be pu..." |
Johnball589 (talk | contribs) |
||
Line 57: | Line 57: | ||
== '''Strings''' == | == '''Strings''' == | ||
{UserMention}: | {UserMention}: Returns the user's username. | ||
{UserName}: | {UserName}: Returns the user's Roblox name. | ||
(UserDisplayName}: | (UserDisplayName}: Returns the user's Roblox Display Name. | ||
{UserGuildName}: | {UserGuildName}: Returns the user's Electron Custom Guild name, or Roblox name if they don't have one. | ||
{UserId}: | {UserId}: Returns the user's ID. | ||
{UserAvatarId}: | {UserAvatarId}: Returns the user's avatar ID, if any. | ||
{UserBannerId}: | {UserBannerId}: Returns the user's avatar banner ID, if any. | ||
{UserOnlineStatus}: | {UserOnlineStatus}: Returns the user's current online status (Online, Idle, Do Not Disturb). | ||
{UserTextStatus}: | {UserTextStatus}: Returns the user's Electron Custom Status text. | ||
{UserAboutMe}: | {UserAboutMe}: Returns the user's Electron About Me text. | ||
{UserBadgesCount}: | {UserBadgesCount}: Returns the amount of badges the user has. | ||
{GuildName}: Returns the current guild name. | |||
{GuildDescription}: Returns the current guild description. | |||
{GuildAvatarId}: Returns the current guild avatar ID. | |||
{GuildBannerId}: Returns the current guild banner ID. | |||
{GuildTagName}: Returns the current guild tag name. | |||
{GuildRulesCount}: Returns the current guild rules count. | |||
{GuildBotsCount}: Returns the current guild bots count. | |||
{GuildRolesCount}: Returns the current guild roles count. | |||
{GuildMaxMembers}: Returns the max members allowed in the guild. | |||
{GuildInvite}: Returns the current guild invite code. | |||
{Year}: Returns the current year in UTC. | |||
{Month}: Returns the current month in UTC. | |||
{WeekDay}: Returns the current day of the week in UTC. | |||
{Date}: Returns the current date (Month, Day, Year). | |||
{Time12}: Current time in 12-hour format (6:06 PM). | |||
{Time25}: Current time in 24-hour format (18:06). | |||
{GeneratedNumber}: Generated random number. | |||
{GeneratedItem}: Generated random item. | |||
{args1}: The entire message string. | |||
{args2}: The entire message string after the first space. | |||
{args3}: The entire message string after the second space. | |||
{args4}: The entire message string after the third space. | |||
{args5}: The last word of the message string. | |||
{word1}: The first word of the message string. | |||
{word2}: The second word of the message string. | |||
{word3}: The third word of the message string. | |||
{word4}: The fourth word of the message string. | |||
{word5}: The fith word of the message string. | |||
[(variable name)->(variable content)]: Write the custom variable. Content empty means variable is deleted. Max is 3 at a time. Doesn't save between game and guilds and on rejoin. | |||
{(variable name)}: Read the custom variable. |