All Projects → parafoxia → hikari-intro

parafoxia / hikari-intro

Licence: BSD-3-Clause License
An introduction to hikari, complete with different examples for different command handlers.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to hikari-intro

yuuko
🔰 No-frills Discord command framework for Eris
Stars: ✭ 15 (-11.76%)
Mutual labels:  commands, discord-bot
DiscordBot-Template
A boilerplate / template for discord.js bots with 100% coverage of Discord API, command handler, error handler based on https://discordjs.guide/
Stars: ✭ 129 (+658.82%)
Mutual labels:  discord-bot, slash-commands
hikari
A Discord API wrapper for Python and asyncio built on good intentions.
Stars: ✭ 631 (+3611.76%)
Mutual labels:  slash-commands, hikari
Discord-multipurpose-bot
A repository with JavaScript and Python versions of the same type of discord commands.
Stars: ✭ 27 (+58.82%)
Mutual labels:  discord-bot, slash-commands
hikari-lightbulb
The official unofficial command handler for the Python discord API wrapper library, Hikari.
Stars: ✭ 152 (+794.12%)
Mutual labels:  discord-bot, hikari
slash-create
🗡️ Creator and handler for Discord's slash commands
Stars: ✭ 244 (+1335.29%)
Mutual labels:  discord-bot, slash-commands
Music-Slash-Bot
A music bot written in Discord.js and Distube using the slash command
Stars: ✭ 34 (+100%)
Mutual labels:  discord-bot, slash-commands
slash-level
✨ The first and only slash-command based Discord level bot ✨
Stars: ✭ 31 (+82.35%)
Mutual labels:  discord-bot, slash-commands
supibot
Multiplatform, utility & novelty chat bot.
Stars: ✭ 77 (+352.94%)
Mutual labels:  commands, discord-bot
discord.ts
🤖 Create your discord bot by using TypeScript and decorators!
Stars: ✭ 315 (+1752.94%)
Mutual labels:  discord-bot, slash-commands
DocDex
JSON API & Discord Bot for Javadocs
Stars: ✭ 31 (+82.35%)
Mutual labels:  discord-bot
Menhera-Chan
A multi-purpose discord bot. With Dashboard
Stars: ✭ 28 (+64.71%)
Mutual labels:  discord-bot
SpikeyBot-Discord
SpikeyBot for Discord. Hunger Games simulator, and other helpful commands.
Stars: ✭ 28 (+64.71%)
Mutual labels:  discord-bot
RPICovidScraper
scraper for Rensselaer Polytechnic Institute (RPI)'s Covid Dashboard
Stars: ✭ 12 (-29.41%)
Mutual labels:  discord-bot
economy-DiscordBot
Economic themed Discord Bot with quite a lot of commands and complete and a system of hunger, thirst, health like the real world.
Stars: ✭ 32 (+88.24%)
Mutual labels:  discord-bot
DiscordWordCloud
A discord bot that generates word clouds for discord users.
Stars: ✭ 21 (+23.53%)
Mutual labels:  discord-bot
AwesomeBot
chatbot for /r/learnprogramming (un)offical discord channel
Stars: ✭ 25 (+47.06%)
Mutual labels:  discord-bot
FFGNDS-Discord-Dice-Roller
Discord dice roller for EotE, AoR, FnD, Genesys, and L5R role playing games.
Stars: ✭ 63 (+270.59%)
Mutual labels:  discord-bot
Rubicon
Dead yo!
Stars: ✭ 14 (-17.65%)
Mutual labels:  discord-bot
ticketbot
Discord.js Ticket bot using Quick.db (DJS V11)
Stars: ✭ 49 (+188.24%)
Mutual labels:  discord-bot

An intro to hikari

This repo provides some simple examples to get you started with hikari. Contained in this repo are bots designed with both the hikari-lightbulb and hikari-tanjun command handlers. This repo is designed with extra stability in mind, but if you want newer features, check out this experimental repo.

This repo only provides examples for slash commands at the moment.

Installing requirements

You can install the necessary requirements by doing:

pip install -r requirements.txt

Setup

There is a little bit of setup you need to do before testing the bots.

  1. Create a file called "token" in a directory called "secrets", and put your bot's token in there.
  2. Change the GUILD_ID variable to your own guild's ID. This is in the __init__ file for the hikari-lightbulb bot, and the __main__ file for the hikari-tanjun bot.

Testing the bots

hikari-lightbulb

This library sports a very discord.py-like syntax (when making message commands), making for an easier time migrating for those wishing to switch. It is less powerful than hikari-tanjun, but is the more stable of the two options at present.

To run the hikari-lightbulb bot:

python -OO -m lightbulb_bot

hikari-tanjun

This library has a syntax far more similar to click, a CLI app builder that relies almost entirely on the usage of decorators. It is more powerful than hikari-lightbulb with better support for slash commands and interactions, but does not currently have a stable version. The version this repo currently uses is the unreleased v2.0.0a1 version.

To run the hikari-tanjun bot:

python -OO -m tanjun_bot

License

This repo is provided under the BSD 3-Clause License. This means you can take anything you want from this repo to use in your own bots, though redistributions must retain the license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].