Discord Bot for Whaleshares
Greetings, dear Whaleshares community!
Currently the Bot has the name "WhaleBot" and the image of Whaleshares, however, there are already several Bots that have this name, so the following week I will be doing a contest for the same community to choose the name and design the logo.
Whaleshares Bot
This Bot is something I've been working on intermittently for two weeks, has been operating on several Discord servers in communities in trial mode, before making a post I wanted to be as error-free as possible, however, I'm sure that in the course will appear one or the other error. The Bot allows to consult basic information of the users through Discord, information as the last publications, the last comments made by the user, as well as the last answers that it has received, also allows to consult the value of the crypto registered in Coinmarketcap and the Blockchain of Bitshares.
Without more preambles, these are the current Bot commands, I don't rule out adding more commands as time goes by.
Commands for the Anglo-Saxon community
To call a Bot command I have decided to use the dollar symbol $
.
Command $helps
This command gives us a list of the Bot's current commands and next to it an example of how they should be applied.
Command $blog
This command allows you to get the most recent post of the user, the only parameter you need is the user name, the amount is optional, however, I decided to place a default value of 3, ie, the last 3 post of the user will be shown if you do not specify the amount.
Example: Using the command
$blog
without entering quantity.Example: Using the command
$blog
placing a quantity.Command $reply
This command allows to obtain the last answers that the user has received in his publications, the only parameter that needs is the user's name, the quantity is optional, however, put by default a quantity of 3, that is to say, the last 3 answers that the user has received will be shown, if the quantity is not specified.
Example: Using the command
$reply
without entering quantity.Example: Using the command
$reply
placing a quantity.Command $comment
This command allows you to obtain the last comments that the user has made in the posts, the only parameter you need is the user's name, the amount is optional, however, by default will be displayed a number of 3, ie the last 3 comments that the user has made, if you do not specify the amount.
Example: Using the command
$comment
without entering quantity.Example: Using the command
$comment
placing an amount.Command $infor
This command allows to obtain the basic information of a user, such as: profile image, description, number of publications, number of followers, number of users that follow him, amount of WLS that he owns, amount of Whalestake that he owns and the current level of his Mana Power, for this command we only need to introduce as parameter the name of the user.
Example: Using the command
$infor
.Command $price
This command allows you to get the price of different crypto, it is set by default that all prices will give them in USD, the only parameter required is the name of the currency, remember the name not the symbol.
Example: Using the command
$price
.Command $ticker
This command allows to get the price of the different crypto of the Bitshares Blockchain, so all of them will show their value in BTS
, the only necessary parameter is the name of the crypto.
Example: Using the command
$ticker
.What happens if I enter these commands without any parameters?
The Bot is designed so that, when entering a command without parameters, it returns a message indicating which parameters are necessary.
Example: Command
$blog
without parameters.Example: Command
$reply
without parameters.Example: Command
$comment
without parameters.Example: Command
$infor
without parameters.Example: Command
$price
without parameters.Example: Command
$ticker
without parameters.What happens if I enter a user or a crypto wrong?
The Bot is designed so that when you enter an incorrect user name, it will return a message indicating that the name is incorrect and that you should verify that it is correctly spelled. This happens when you use the commands $blog
, $reply
, $comment
and $infor
.
Example: Command
$infor
with invalid account.When entering an incorrect crypto the Bot will return a message indicating that the crypto is invalid and give you an example of how to use the command.
Example: Command
$price
with invalid crypto.Example: Command
$ticker
with invalid crypto.Commands for the Hispanic Community
To call a Bot command in Spanish the dollar symbol $
will also be used.
Command $ayuda
This command gives us a list of the current commands that the Bot has in Spanish and next to it an example of how they should be applied.
As you can see, change the name of the command to be able to use it in the same Bot, however, the function remains the same. If you want to know more about these commands, visit this same post in Spanish.
I want to thank the projects @constelacion, @kantos, @loto-azul-mujer and @milkbox.esp / @milkbox.info, for the support in the tests of the Bot, @ceruleanblue for your recommendations and motivation, also to the Hispanic community in general because the idea came thanks to you, because there are few tools designed for the hispanic community and sometimes the language barrier prevents using them.
Every vote counts
Go to the URL https://whaleshares.io/~witnesses, locate my user @triton-witness and click on the circle to the left, enter your active password and you're done.
"The human being is intelligent by nature, technology is only a complement."
Triton Warrior... A God formed in the depths of the sea who has come to Whaleshares to stay...
Triton Warrior... A God formed in the depths of the sea who has come to Whaleshares to stay...
Your opinion is celebrated and welcomed, not banned or censored!