Roll a Dice Bot

Discord 机器人

Roll a Dice Bot

此机器人收录等待认领

此机器人目前没有管理员。若你拥有它,可认领以编辑收录并取得所有权。

关于

This Bot Rolls a 6 sided Dice for your Entertainment!! Do !diceroll and check it out yourself Bot Made by the Creator of Flip a Coin Bot

This Bot Rolls a 6 sided Dice for your Entertainment!!
Do !diceroll and check it out yourself
Bot Made by the Creator of Flip a Coin Bot

Commands:
!diceroll: Rolls a Dice
!radbhelp: Shows the help message

Help Message:
This Bot Rolls a 6 sided Dice for your Entertainment!!
Do !diceroll and check it out yourself
Bot Made by the Creator of Flip a Coin Bot

Join support server if you wish to.
https://discord.gg/YewHa4eJea

Support Server is pretty minimalistic and has status and invite channels, support tickets coming soon

Examples of commands:
You type: !diceroll
Bot: Its 1!!!

You type: !diceroll
Bot: Its 4!!!

You type: !facbhelp
This Bot Rolls a 6 sided Dice for your Entertainment!!
Do !diceroll and check it out yourself
Bot Made by the Creator of Flip a Coin Bot

Have fun with this bot!!

The below info is only for hardcore programmers who wish to know how this bot was made.

Programming language: Javascript

Used Discord's API discord.js

Bot is made in scratch for discord, and hosted in repl.it with uptimerobot.com

If you want to check out the code that went into this bot
You can check it out here:
https://replit.com/@SiddK2/Roll-a-Dice-Bot

I basically asked the bot to generate a random number from 1 and 6. If the number is 1 then the bot would print 1 and if the number is 2 then the bout would print 2 and so on. The help command was easy as well.

I hosted this with a file called server.js and had a monitor in uptimerobot.com to make the repl always keep running.

One more thing to keep in mind when desining a bot in repl.it is to private your token if you dont have repl.it premium. A token should be very secretive and if someone gets your token then they can hack into your bot!!

This is one of my first ever bots and I am coming out with a lot more, so please excuse the Naiveness that is present in this bot.

语言

  • English

评价

暂无评价 — 来分享你的体验吧。

投票统计

本指南过去 30 天记录的数据。

0 本月投票
0 累计投票
0 最近 7 天
0 独立投票人 · 30 天

最近 30 天

  • 投票

按星期

一
二
三
四
五
六
日
Roll a Dice Bot
Roll a Dice Bot
0 个服务器 · 月票 0
邀请