Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

🦀 A discord bot template using Poise, Serenity framework for slash commands

Notifications You must be signed in to change notification settings

jackskelt/poise-bot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serenity + Poise bot template

This is a simple template for make a Discord Bot with Slash Commands using Serenity and Poise.

Setup (with nix flakes)

Requirements

Steps

  • Create a .env following .env.example
  • Run direnv allow
  • Ready to go!

Setup (without nix flakes)

Requirements

Steps

  • Create a .env following .env.example
  • Add dotenvy to dependencies
cargo add dotenvy

or modify Cargo.toml

[dependencies]
dotenvy = "0.15"
#[tokio::main]
pub async fn main() {
    dotenvy::dotenv().unwrap();
    //...
}
  • Ready to go!

About

🦀 A discord bot template using Poise, Serenity framework for slash commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published