GithubHelp home page GithubHelp logo

bariscodefxy / hiro-discord-bot Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 7.0 34.27 MB

"Best open-source" Discord bot written in PHP.

License: Apache License 2.0

PHP 99.81% Shell 0.15% Batchfile 0.02% Procfile 0.02%
discord discordphp php discord-bot bot discord-js php-cli php-cli-script discord-php php8 php83

hiro-discord-bot's Introduction


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.

hiro-discord-bot's People

Contributors

bariscodefxy avatar cyb3r73 avatar dependabot[bot] avatar drum3x avatar nikolatesla avatar qberkdc avatar wraith4081 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hiro-discord-bot's Issues

waifu.pics DOWN!

The waifu.pics API down at the moment. Because of that the "$waifu" command is not working. You can use an alternative command that named "$nekos". I will recheck the host and report here.

[RPG] Earring found but couldnt write bit

// earrings
if ($this->getRPGUsingItemByType($user_id, RPG::ITEM_ARMOR | RPG::ITEM_ARMOR_EARRING | RPG::ITEM_USED_LEFT)) {
    echo "Earring Found\n";
    $this->setRPGItemType($item['id'], $item['item_type'] | RPG::ITEM_USED_RIGHT);
} else {
    $this->setRPGItemType($item['id'], $item['item_type'] | RPG::ITEM_USED_LEFT);
}

In Database.php#548

Contact

Hello, how i can contact with you?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.