hiro-team/hiro-bot

A discord bot written in PHP

Fund package maintenance!
www.buymeacoffee.com/bariscodefx

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 19

Watchers: 2

Forks: 7

Open Issues: 3

Type:project

v1.0.5 2024-04-23 16:59 UTC

This package is auto-updated.

Last update: 2024-04-23 17:13:15 UTC


README

68747470733a2f2f63646e2e646973636f72646170702e636f6d2f69636f6e732f313132363734353634383430373030373337342f31313939643862366434393133306137633462643763623766333537343839652e706e67 256797733-55194acc-a36b-407f-b921-30b813019422.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTM4OTI2OTQsIm5iZiI6MTcxMzg5MjM5NCwicGF0aCI6Ii84NTcxNjI0Mi8yNTY3OTc3MzMtNTUxOTRhY2MtYTM2Yi00MDdmLWI5MjEtMzBiODEzMDE5NDIyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDIzVDE3MTMxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY1NDQxYjNhMGE2ZWU5ZjY0NTM5YjlmZmZmNGM1MDYxNjdlOWZiNWI4YTAxNzJmNDU4YjMyNGI4YzEwZjIxMjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.uMwEbmiP9lE8xiJ3zkUpY5bWCEuhxtXj_KmEZAc_ws4
68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f31313236373435363438343037303037333734 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f776e6c6f61642d737461626c652d73756363657373 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f696e766974652d696e76697465253230626f742d73756363657373

Hiro016 Discord Bot

A Discord bot written in PHP.

Why Hiro Bot?

  • 100% Open-source & Secure
  • Bot is using PHP language
    • PHP is fast learnable programming language that most using in the Web, so you can learn in average 1 week and you can fork this project and you can make your own bot
  • We're fast merging your good pull requests
  • Most features in one bot
  • Has multi language support.

Languages (Translations)

  • English %100
  • Japanese %100
  • Turkish %100
  • Korean %10

Features

  • Can make your server more online with RPG commands
    • You can set RPG channel that RPG commands only usable in there
    • RPG system is very funny, members of your server will love that
  • Can play songs on YouTube in your voice channels
  • For anime lovers bot has commands
    • $waifu - Sends random waifu image
    • $hug - You can hug a member, bot will send anime hugging gif with a message
    • $kiss - You can kiss a member, bot will send anime kissing gif with a message
    • $marry - You can marry with a member, bot will send anime marrying gif with a message (It is won't store in database)
    • $nekos - Just like waifu command but it's uses another API
    • $slap - You can slap a member, bot will send anime slapping gif with a message
  • Bot has economy system
    • $coinflip - A gambling game that you have 1/2 chance
    • $daily - You can get daily earnings
    • $money - You can see your current money
    • $pay - You can give money to someone
    • $slots - A gambling game that you know as slot machine
  • Bot also has some moderation commands
    • $ban - Bans a member from your guild
    • $clear - Deletes as many messages as you type
    • $kick - Kicks a mebmer from your guild
    • $nick - Changes or resets member display name

Creating your bot from fork Hiro016 bot

Your Or PC/VPS

Install Bot
Clone Repository to your PC/VPS
git clone https://github.com/hiro-team/hiro-bot.git
Manual Download
  • Download from Code button
  • Extract to anywhere
Setup
  • Install PHP 8 or more
  • Install Composer
  • Make file with name .env
  • Put your token from Discord Developer Portal to your .env file like this: TOKEN=YOUR_BOT_TOKEN
  • Put this command to your cmd/terminal: composer update or composer install
Running
  • php ./bot.php Done

Heroku

Fork this project and sign in on Heroku then create new Heroku project then select your repository on your project then select heroku/php module, make new environment named TOKEN and put your token there from Heroku Settings. Done!

License

Copyright 2021-2024 bariscodefx

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.