Flip a Coin Bot

Discord ボット

Flip a Coin Bot

0 サーバー
0 月間投票 0 累計投票
1 コミュニティレビュー

このボット掲載はクレーム待ちです

現在このボットに管理者がいません。所有しているなら、クレームして掲載を編集し所有権を取得できます。

概要

This Bot flips a coin for your entertainment!! Do !coinflip and find out if it is heads, or tails!

This Bot flips a coin for your entertainment!!
Do !coinflip and find out if it is heads, or tails!

Commands:
!coinflip: Flips a coin
!facbhelp: Shows the help message

Help Message:
This Bot flips a coin for your entertainment!!
Do !coinflip and find out if it is heads, or tails!

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

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

Examples of commands:
You type: !coinflip
Bot: Its Heads!

You type: !coinflip
Bot: Its Tails!

You type: !facbhelp
Bot: This Bot flips a coin for your entertainment!!
Do !coinflip and find out if it is heads, or tails!

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/Flip-a-Coin-Bot

I basically asked the bot to generate a random number from 1 and 2. If the number is 1 then the bot would print Heads and if the number is 2 then the bout would print Tails. 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 runnning.

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 my first ever bot and i am coming out with a lot more, so please excuse the Naiveness that is present in this bot.

言語

  • English

コミュニティレビュー

5 · 1 レビュー

まだレビューがありません — 最初に体験を共有しましょう。

投票の統計

このガイドで過去30日間に記録されたものです。

0 今月の投票
0 累計投票
0 過去7日間
0 ユニーク投票者 · 30日

過去30日間

  • 投票

曜日別

月
火
水
木
金
土
日
Flip a Coin Bot
Flip a Coin Bot
0サーバー · 月間0票
招待