A RPG bot, with a working inventory, market and economy, team setups and characters aswell. Each user has a server unique inventory and balance. Players may list items on a market for other users to buy. Users may create characters with teams from Pet in their storage box. Server administrators may add and give items to the server and its users. Pet boxes and server configurations.
Made by @Henry#8808
- @wRadion#5043 https://github.com/wRadion
- @Henry#8808 (Me) https://github.com/henry232323
- https://github.com/youqad
- https://github.com/Philip-Nicolas
- All bot icons used were made by @MOSE-FR#5388
- Also thanks to @Volgrim Evrazasvae#5252
- Characters Commands
- allchars
- character
- character alias
- character assume
- character create
- character delete
- character edit
- character remattr
- character removealias
- character unassume
- characters
- chareco
- chareco givemoney
- chareco pay
- chareco setbalance
- chareco takemoney
- charinv
- charinv craft
- charinv give
- charinv giveitem
- charinv takeitem
- charinv use
- Economy Commands
- Groups Commands
- guild
- guild create
- guild delete
- guild deposit
- guild deposititems
- guild give
- guild givemoney
- guild info
- guild invite
- guild join
- guild kick
- guild leave
- guild setdescription
- guild seticon
- guild setimage
- guild setmod
- guild take
- guild takemoney
- guild toggleopen
- guild transfer
- guild withdraw
- guild withdrawitems
- guilds
- Inventory Commands
- Mapping Commands
- Misc Commands
- Pets Commands
- Salary Commands
- Settings Commands
- Team Commands
- User Commands
= a neccesary argument [argument] = an optional argument
Description: List all guild characters
Usage:
rp!allchars
Description: Get info on a character. Example: rp!c Hank
Usage:
rp!character <name>
Description: Create an alias for a character. Example: rp!c alias Tom Tom Hanks This will make the name Tom point to the name Tom Hanks
Usage:
rp!character alias <alias_name> <character_name>
Description: Assume a character. You will send messages with this character's icon and name. Necessary for some character inventory and economy commands. Lasts one day
Usage:
rp!character assume <name>
Description: Create a new character Example: Henry: rp!character create Bobby Hill RPGBot: Member "Hill" not found. If this is unexpected, please report this to the bot creator Henry: rp!character create "Bobby Hill" RPGBot: Describe the character (Relevant character sheet) (Say done when you're done describing) Henry: He's a little round, but he's a good boy Henry: done RPGBot: Any additional info? (Add a character image using the image keyword or use the icon keyword to give the character an icon. Formats use regular syntax e.g. image: http://example.com/image.jpg, hair_color: blond, nickname: Kevin (Separate keys with commas or newlines) Henry: Hair Color: Blonde Body Type: Round Father: Hank Hill image: https://i.ytimg.com/vi/mPCEODZSotE/maxresdefault.jpg icon: https://vignette.wikia.nocookie.net/kingofthehill/images/c/c7/Bobby.png/revision/latest?cb=20150524012917 RPGBot Character created!
Usage:
rp!character create <name> [user]
Description: Delete a character of the given name (you must be the owner or be a Bot Mod / Bot Admin)
Usage:
rp!character delete <name>
Description: Edit a character Usage: rp!character edit John description John likes bananas! Valid values for the [item] (second argument): name: the character's name description: the description of the character level: an integer representing the character's level meta: used like the additional info section when creating; can be used to edit/remove all attributes Anything else will edit single attributes in the additional info section Bot Moderator or Bot Admin are required to edit other people's characters
Usage:
rp!character edit <name> <attribute> <value>
Description: Delete a character attribute Usage: rp!character remattr John hair color
Usage:
rp!character remattr <name> <attribute>
Description: Remove an alias Example: rp!c removealias Tom Only character owners may remove the aliases of their characters.
Usage:
rp!character removealias <alias_name>
Description: Unassume a character
Usage:
rp!character unassume <character>
Description: List all characters of the user. If no user is given lists your own characters.
Usage:
rp!characters [user]
Description: Check your or another character's balance
Usage:
rp!chareco [name]
Description: Give the character's money (Moderators)
Usage:
rp!chareco givemoney <amount> [names...]
Description: Pay another character money
Usage:
rp!chareco pay <amount> <other>
Description: Set the balance of the given members to an amount (Moderators)
Usage:
rp!chareco setbalance <amount> [names...]
Description: Take the character's money (Moderators)
Usage:
rp!chareco takemoney <amount> [names...]
Description: Check your or another character's inventory.
Usage:
rp!charinv [name]
Description: Craft a recipe with a given name from the available server recipes; e.g. rp!craft 5 Apple Pie
Usage:
rp!charinv craft <number> <name>
Description: Give items ({item}x{#}) to a character; ie: rp!ci give Name Pokeballx3
Usage:
rp!charinv give <other> [items...]
Description: Give an item to a character (Not out of your inventory) Example: rp!ci giveitem Banana 32 Char1 Char2 Char3
Usage:
rp!charinv giveitem <item> <num> [names...]
Description: Remove an item from a character's inventory
Usage:
rp!charinv takeitem <item> <num> [names...]
Description: Use an item. Example
rp!use Banana
orrp!use Banana 5
To make an item usable, you must put the keyused: <message>
when you are adding additional information for an item. If you dont input a number of items you will use one by default.
Usage:
rp!charinv use <item> [number=1]
Description: Get the top 10 server balances
Usage:
rp!baltop
Description: Deposit
amount
into the bank. Example: rp!bank deposit 500.3
Usage:
rp!bank deposit <amount>
Description: Withdraw
amount
from the bank Example: rp!bank withdraw 499
Usage:
rp!bank withdraw <amount>
Description: Place a bid on the current bidding item in the channel.
rp!bid 5
Usage:
rp!bid <amount>
Description: Check your or another users balance. Example: rp!e @Henry#6174 Will not display others' balances if inventory hiding is enabled.
Usage:
rp!economy [member]
Description: Give the member's money Example: rp!givemoney 5000 @Henry#6174 @JohnDoe#0001 Example: rp!givemoney 50 everyone (or @​everyone) Requires Bot Moderator or Bot Admin
Usage:
rp!givemoney <amount> [members...]
Description: List the currently running lottos.
Usage:
rp!lotto
Description: Cancel a lottery Example: rp!lotto cancel MyLotto Requires Bot Moderator or Bot Admin
Usage:
rp!lotto cancel<name>
Description: Enter the lottery with the given name. For example:
rp!lotto enter MyLotto
to join the lotto with the name MyLotto
Usage:
rp!lotto enter <name>
Description: Create a new lotto, with jackpot payout lasting time in seconds. Requires Bot Moderator or Bot Admin For example:
rp!lotto create MyLotto 5000 3600
will create a new lotto called MyLotto (rp!lotto enter MyLotto to join), which has a jackpot of 5000 and lasts 1 hour (3600 seconds)
Usage:
rp!lotto new <name> <jackpot> <time>
Description: View the current market listings
Usage:
rp!market
Description: Buy a listing from the player market. Example: rp!market buy CRP1I7 IDs for items can be found in rp!market
Usage:
rp!market buy <id>
Description: Create a new market listing. The listing will return a unique identifier for the item. This is used to buy the item later. Example: rp!market list 500 12 Apple This will list 12 Apples from your inventory for $500
Usage:
rp!market create <cost> <amount> <item>
Description: Remove an item from the market
Usage:
rp!market remove <id>
Description: Search the market for an item. Example: rp!market search Banana
Usage:
rp!market search <item>
Description: Pay another user money Example: rp!pay 500 @Henry#6174
Usage:
rp!pay <amount> <member>
Description: Set the balance of the given members to an amount Example: rp!setbalance 500 everyone Example: rp!setbalance 500 @Henry#6174 @JohnDoe#0001 Requires Bot Moderator or Bot Admin
Usage:
rp!setbalance <amount> [members...]
Description: Get all items currently listed on the server shop
Usage:
rp!shop
Description: Add an item to the server shop, to make an item unsaleable or unbuyable set their respective values to 0 rp!shop additem Pokeball -> 0 -> 10 Can be sold for 10 and cannot be bought. Must be an existing item (Use rp!settings additem first)! Requires Bot Moderator or Admin
Usage:
rp!shop additem <name>
Description: Buy an item from the shop
Usage:
rp!shop buy <item> <amount>
Description: Remove a listed item Example:
rp!shop remove Pokeball
Requires Bot Moderator or Bot Admin
Usage:
rp!shop removeitem <name>
Description: Sell an item to the shop Example: rp!shop sell Apple 5
Usage:
rp!shop sell <item> <amount>
Description: Start a bid for an item Example:
rp!startbid Banana 5 40
This will start a bid for 5 Bananas, starting at $40
Usage:
rp!startbid <item> <amount> <startbid>
Description: Take the member's money Example: rp!takemoney 5000 @Henry#6174 Requires Bot Moderator or Bot Admin
Usage:
rp!takemoney <amount> [members...]
Description: Get info on a member's guild. Subcommands for guild management Example: rp!guild @Henry#6174 rp!guild
Usage:
rp!guild [member]
Description: Create a new guild Example: Henry: rp!guild create MyGuild RPGBot: 'cancel' or 'skip' to cancel creation or skip a step Describe the Guild (guild description) Henry: This guild is super cool RPGBot: Is this guild open to everyone? Or is an invite necessary? (yes or no, no is assumed) Henry: yes RPGBot: If you'd like give a URL to an image for the guild Henry: https://i.ytimg.com/vi/mPCEODZSotE/maxresdefault.jpg RPGBot: Finally, you can also set an icon for the guild Henry: https://vignette.wikia.nocookie.net/kingofthehill/images/c/c7/Bobby.png/revision/latest?cb=20150524012917 RPGBot: Guild successfully created!
Usage:
rp!guild create <name>
Description: Delete your guild. To delete a guild you do not own, you must have Bot Moderator or Bot Admin
Usage:
rp!guild delete [name]
Description: Deposit an amount of money into the guild bank. To deposit into a guild are not a member of, you must have Bot Moderator or Bot Admin
Usage:
rp!guild deposit <amount> [guild_name]
Description: Deposit items into the guild's storage, uses {item}x{#} notation Example: rp!guild deposititems Bananax5 Orangex10 To deposit into a guild you are not a member of, you must have Bot Moderator or Bot Admin
Usage:
rp!guild deposititems [items...]
Description: Put items into the guild's storage, uses {item}x{#} notation. Does not take from inventory Example: rp!guild give MyGuild Bananax5 Orangex10 Requires Bot Moderator or Bot Admin
Usage:
rp!guild give <name> [items...]
Description: Deposit an amount of money into the bank of a guild. Does not take from user's bank. Example: rp!guild givemoney MyGuild 500 Requires Bot Moderator or Bot Admin
Usage:
rp!guild givemoney <guild_name> <amount>
Description: Get info on a guild Example: rp!guild info MyGuild
Usage:
rp!guild info <name>
Description: Invite a user your closed guild
Usage:
rp!guild invite <user>
Description: Join a guild. (if you have an invite for closed guilds)
Usage:
rp!guild join <name>
Description: Kick a member from a guild.
Usage:
rp!guild kick<user>
Description: Leave your guild. Will ask you to delete your guild if you are the owner.
Usage:
rp!guild leave
Description: Set the guild's description (guild mods only)
Usage:
rp!guild setdescription <description>
Description: Set the guild's icon (guild mods only)
Usage:
rp!guild seticon <url>
Description: Set the guild's image (guild mods only)
Usage:
rp!guild setimage<url>
Description: Give the listed users mod for your guild (guild owner only)
Usage:
rp!guild setmod [members...]
Description: Take items from the guild. Does not take from inventory Example: rp!guild take MyGuild Bananax5 Orangex10 Requires Bot Moderator or Bot Admin
Usage:
rp!guild take <name> [items...]
Description: Take money from the guild bank. Example: rp!guild takemoney MyGuild 500 Requires Bot Moderator or Bot Admin
Usage:
rp!guild takemoney <guild_name> <amount>
Description: Toggle the Guilds open state (guild owner only)
Usage:
rp!guild toggleopen
Description: Transfer ownership of a guild to someone else (guild owner only)
Usage:
rp!guild transfer <user>
Description: Take money from the guild bank (guild mods only) To withdraw from a guild you are not a member of, you must have Bot Moderator or Bot Admin
Usage:
rp!guild withdraw <amount>
Description: Withdraw items from the guild (guild mods only) Example: rp!guild withdrawitems Bananax5 Orangex10 To withdraw from a guild you are not a member of, you must have Bot Moderator or Bot Admin
Usage:
rp!guild withdrawitems [items...]
Description: List guilds
Usage:
rp!guilds
Description: Craft a recipe with a given name from the available server recipes; Example: rp!craft 5 Apple Pie
Usage:
rp!craft <number> <name>
Description: Give items ({item}x{#}) to a member Example: rp!give @Henry#6174 Pokeballx3 Orangex5
Usage:
rp!give <other> [items...]
Description: Give an item to a person (Not out of your inventory) Example: rp!giveitem Banana 32 @Henry#6174 @RPGBot#8700 @JoeShmoe#3012 Requires Bot Moderator or Bot Admin
Usage:
rp!giveitem <item> <num> [members...]
Description: Check your or another users inventory. Example: rp!inventory @Henry#6174 or just rp!inventory
Usage:
rp!inventory [member]
Description: List the current lootboxes
Usage:
rp!lootbox [name]
Description: Buy a lootbox of the given name Example: rp!lootbox buy MyLootBox
Usage:
rp!lootbox buy <name>
Description: Create a new lootbox, under the given
name
for the given cost Use {item}x{#} notation to add items with {#} weight Weight being an integer. Example: rp!lootbox create MyBox 500 bananax2 orangex3. The outcome of the box will be Random Choice[banana, banana, orange, orange, orange] The price can also be an item (or several items), for example rp!lootbox create MyBox Key bananax2 orangex3 or rp!lootbox create MyBox Keyx2 bananax3 orangex3 If you use 10 total items: Keyx3 Bananax4 Orangex3 There will be: - A 3/10 chance of getting a Key - A 3/10 chance of getting an Orange - A 4/10 chance of getting a Banana
Usage:
rp!lootbox create <name> <cost> [items...]
Description: Delete a lootbox with the given name Example: rp!lootbox delete MyLootBox Requires Bot Moderator or Bot Admin
Usage:
rp!lootbox delete <name>
Description: See data on a specific recipe; Example: rp!recipe Banana
Usage:
rp!recipe <name>
Description: Create a new recipe; Example > rp!recipe create Apple Pie >> What items must be consumed to follow this recipe? e.g. Applex5 Breadx2 > Applex5 Breadx15 "Pie Tinx1" >> What items will be given upon the completion of this recipe? e.g. "Apple Piex1" > "Apple Piex1" "Pie Tinx1" >> Successfully created new recipe!
Usage:
rp!recipe create <name>
Description: Delete the recipe with the given name; Example: rp!recipe delete Apple Pie Requires Bot Moderator or Bot Admin
Usage:
rp!recipe delete <name>
Description: List all the available server recipes
Usage:
rp!recipes
Description: Remove an item from a person's inventory Example: rp!takeitem Banana 5 @Henry#6174 @JohnDoe#0001 Requires Bot Moderator or Bot Admin
Usage:
rp!takeitems <item> <num> [members...]
Description: Send a trade offer to another user. Example: rp!trade @Henry Bananax3 Applex1 --Format items as {item}x{#}
Usage:
rp!trade <other> [items...]
Description: Respond to a trade offer by another user. Example: rp!inventory respond @Henry Grapex8 Applex1 --Format items as {item}x{#}
Usage:
rp!trade respond <other> [items...]
Description: Use an item. Example:
rp!use Banana
orrp!use Banana 5
To make an item usable, you must put the keyused: <message>
when you are adding additional information for an item. Example: Henry: rp!s additem Potion RPGBot: Describe the item (a description for the item) Henry: A potion RPGBot: Additional information? (...) Henry: used: The potion restored 500 health RPGBot: Item successfully created ... Henry: rp!use Potion 3 RPGBot: The potion restored 500 health Used 5 Potions
Usage:
rp!use <item> [number=1]
Description: Wipe all listed inventories. Must be administrator. To wipe ALL inventories do
rp!wipeinv everyone
Usage:
rp!wipeinv [members...]
Description: See the server map
Usage:
rp!map <name>
Description: Buy an item from the shop on the current tile
Usage:
rp!map buy <amount> <itemname> [charname]
Description: Inspect the current tile a character is on
Usage:
rp!map check [name]
Description: Create a map that will generate as it is explored. Set xmax and ymax to -1 for an infinite map ($5 Patrons only)
Usage:
rp!map create <mapname> <xmax> <ymax>
Description: Delete a map
Usage:
rp!map delete <name>
Description: Move south on a map
Usage:
rp!map down [name]
Description: Create a custom map for the guild. Usage:
rp!map create Earth 64 64
This will create a 64x64 map that will generate as the players explore it
Usage:
rp!map create <name> <xsize> <ysize>
Description: Move West on a map
Usage:
rp!map left [name]
Description: Move East on a map
Usage:
rp!map right [name]
Description: Move North on a map
Usage:
rp!map up [name]
Description: Donation information
Usage:
rp!donate
Description: Give me some feedback on the bot
Usage:
rp!feedback <feedback>
Description: Bot Info
Usage:
rp!info
Description: Test the bot's connection ping
Usage:
rp!ping
Description: Roll a number of dice with given sides (ndx notation) Example: rp!rtd 3d7 2d4 Optional Additions: Test for success by adding a >/<# Grab the top n rolls by adding ^n Add to the final roll by just adding a number (pos or neg)
Examples of all:
rp!rtd 8d8 -12 15 ^4 >32
-> Roll failed (30 > 32) ([8 + 7 + 6 + 6] + -12 + 15) (Grabbed top 4 out of 8)
Usage:
rp!rtd [dice...]
Description: Displays my full source code or for a specific command. To display the source code of a subcommand you have to separate it by periods, e.g. tag.create for the create subcommand of the tag command.
Usage:
rp!source [command]
Description: Get totals of commands and their number of uses
Usage:
rp!totalcmds
Description: Check the pets in your own or someone else's box
Usage:
rp!box [member]
Description: Subcommands for Pet management, see rp!help pet Same use as rp!box
Usage:
rp!pet [member]
Description: Create a new Pet to add to your box
Usage:
rp!pet create
Description: Edit a pet Usage: rp!pet edit 5 description John likes bananas! Valid values for the [item] (second argument): name: the character's name description: the description of the character level: an integer representing the character's level meta: used like the additional info section when creating; can be used to edit/remove all attributes Anything else will edit single attributes in the additional info section
Usage:
rp!pet edit <pet_id> <attribute> <value>
Description: Get info on a Pet
Usage:
rp!pet info <id>
Description: Release a Pet from your box
Usage:
rp!pet release <id>
Description: Offer a trade to a user.
your_id
is the ID of the Pet you want to give,their_id
is the Pet you want from them.other
being the user you want to trade with
Usage:
rp!pet trade <your_id> <their_id> <other>
Description: See server salaries
Usage:
rp!salaries
Description: Get a role's salary. Also includes salary subcommands
Usage:
rp!salary <role>
Description: Collect your salary for all available roles
Usage:
rp!salary collect
Description: Create a daily salary for a user with the given role. The time interval is the interval which must pass before the user may collect the salary again, in seconds. If a role with a salary is deleted, the salary will also be deleted. For example
rp!salary create @Bot Creator 3600 500
Will create a salary of $500 for a user hourlyrp!salary create @Bot Creator 86400 Bananax3 Orangex4
Will create a salary of 3 Bananas and 4 Oranges for a user daily Requires Bot Moderator or Bot Admin
Usage:
rp!salary create <role> <interval> [items_or_number...]
Description: Remove a created salary Requires Bot Moderator or Bot Admin
Usage:
rp!salary delete <role>
Description: Manually pay out salaries for a role or all roles Requires Bot Moderator or Bot Admin
Usage:
rp!salary payout [role]
Description: Set the guild currency Requires Bot Moderator or Bot Admin
Usage:
rp!currency <currency-name>
Description: Set a time for messages to be automatically deleted after running in seconds.
rp!deleteafter 0
to make messages never be deleted Requires Bot Moderator or Bot Admin
Usage:
rp!deleteafter <time>
Description: Set whether or not user inventories are hidden. If enabled, inventories will be sent via DMs. Values are True/False Requires Bot Moderator or Bot Admin
Usage:
rp!hideinv <value>
Description: Set the guild language or check the language English = en German = de Spanish = es Portugese = pt Russian = ru (if something appears in english despite your settings theres no translation for it yet, you can help write those if you want) Requires Bot Moderator or Bot Admin
Usage:
rp!language [language]
Description: This command will pre-load all D&D items and make them available to give Requires Bot Moderator or Bot Admin
Usage:
rp!loaddnd
Description: This command will pre-load all D&D Magic items and make them available to give Requires Bot Moderator or Bot Admin
Usage:
rp!loaddndmagic
Description: This command will pre-load all D&D items and make them available in shop Requires Bot Moderator or Bot Admin
Usage:
rp!loaddndshop
Description: This command load all the items in the attached file. See an example file here: https://github.com/henry232323/RPGBot/blob/master/tutorial.md Requires Bot Moderator or Bot Admin
Usage:
rp!loaditems
Description: This command will pre-load all D&D Magic items and make them available in shop Requires Bot Moderator or Bot Admin
Usage:
rp!loadmagicshop
Description: This command will pre-load all Pokemon items and make them available to give Requires Bot Moderator or Bot Admin
Usage:
rp!loadpokemon
Description: This command will pre-load all Star Wars items and make them available to give Requires Bot Moderator or Bot Admin
Usage:
rp!loadstarwars
Description: This command will pre-load all Star Wars items and make them available in shop Requires Bot Moderator or Bot Admin
Usage:
rp!loadstarwarsshop
Description: View the current custom prefix for the server Requires Bot Moderator or Bot Admin
Usage:
rp!prefix
Description: Set the server's default map. Requires Bot Moderator or Bot Admin
Usage:
rp!setdefaultmap <mapname>
Description: Set the server's custom prefix. The default prefix will continue to work. Example: rp!setprefix ! --> !setprefix rp! Requires Bot Moderator or Bot Admin
Usage:
rp!setprefix <new-prefix>
Description: Set the money start amount for a guild Requires Bot Moderator or Bot Admin
Usage:
rp!setstart <amount>
Description: Get the current server settings
Usage:
rp!settings
Description: Add a custom item. Custom keys that can be used for special additions:
image
Setting this to a URL will give that item a special thumbnail when info is viewed for itused
A message for when the item is used
Henry: rp!settings additem Example
RPGBot: Describe the item (a description for the item)
Henry: This is an example item
RPGBot: Additional information? (Attributes formatted in a list i.e color: 400, value: 200 Set an image for this item with the image key i.e. image: http://example.com/image.png Set this item as usable by adding used key i.e. used: You open the jar and the bird flies away
Henry: used: You used this item!, image: http://www.sourcecertain.com/img/Example.png
RPGBot: Item successfully created
Requires Bot Moderator or Bot Admin
Usage:
rp!settings additem <name>
Description: Get info on a server item
Usage:
rp!settings iteminfo <item>
Description: See all items for a server The letter is optional
Usage:
rp!settings items [letter]
Description: Remove a custom item Requires Bot Moderator or Bot Admin
Usage:
rp!settings removeitem <name>
Description: Unload Pokemon, D&D, D&D Magic, or Star Wars items.
rp!unload {name}
where name is either dnd, dndmagic, pokemon or starwars Requires Bot Moderator or Bot Admin
Usage:
rp!unload <name>
Description: Set the server's setting for what to do when a player leaves. Set to true to wipe player data. Values are True and False Requires Bot Moderator or Bot Admin
Usage:
rp!wipeonleave <value>
Description: Check a character's team
Usage:
rp!team <character>
Description: Add a Pet to a character's team
Usage:
rp!team add <character> <id>
Description: Remove a Pet from a character's team
Usage:
rp!team remove <character> <id>
Description: Get your or another user's level information. Help on this command for experience subcommands EXP is calculated using a 0.1x^2+5x+4 where x is equal to the user's current level Spamming commands or messages will not earn more exp!
Usage:
rp!experience [member]
Description: Give the given members an amount of experience
Usage:
rp!experience add <amount> [members...]
Description: Disable EXP settings for a guild
Usage:
rp!experience disable
Description: Enable EXP settings for a guild
Usage:
rp!experience enable
Description: Set the given members level
Usage:
rp!experience setlevel <level> [members...]
Description: Get info on a user
Usage:
rp!userinfo [user]