Bot oficial da codify community.

Overview

Bot do discord oficial da codify community.

Como eu posso rodar ele?

Requisitos

Arquivo de configuração

O .env é um arquivo que contém várias váriaveis de âmbiente para configuração. A gente irá usar um para definir o seu token do discord e o id do servidor em que você vai usar o bot.

Um exemplo:

DISCORD_TOKEN="XXXXXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
GUILD_ID=12345678
REGISTRO_ID=12345678
LOG_CHANNEL_ID=12345678
DATABASE_LOCATION=banco-de-dados

- DISCORD_TOKEN field

O DISCORD_TOKEN é o token do discord, ele é usado para fazer o bot se conectar com o Discord para executar as suas funções, se esse token não for providenciado, o bot irá mandar uma mensagem semelhante à essa:

- GUILD_ID field

O campo GUILD_ID é usado para o discord registrar os comandos apenas nesse servidor, se esse id não for providenciado, o bot não terá para onde enviar os comandos, então o bot irá mandar uma mensagem semelhante à essa:

- LOG_CHANNEL_ID field

O campo LOG_CHANNEL_ID é responsavel por indicar o bot a onde ele irá enviar as mensagens de log.

- DATABASE_LOCATION field

O campo LOG_CHANNEL_ID é responsavel por indicar o bot a onde ele irá salvar os arquivo de banco-de-dados dele.

Finalmente executando ele

É somente executar: cargo run --release que o bot irá iniciar.

You might also like...
Telegram Bot Template with Cloudflare Workers

cf-workers-telegram-bot-template Usage This template starts you off with a src/lib.rs file, acting as an entrypoint for requests hitting your Worker.

Rust telegram bot library for many runtimes

Telbot Telbot provides telegram bot types and api wrappers. Specifically, telbot now supports: telbot-types: basic telegram types / requests / respons

Just a bot for Neovim's Matrix room(s)

nvim-matrix-bot Currently just supports replying to messages with :h some_doc or similar in them with a link to the docs on Neovim's website. Plan i

Music bot written in Rust

Akasuki What is Akasuki? Akasuki is a simple discord music bot written in rust. Highlights Select your music using discord's new select menu feature,

A Discord bot for sending GeoGuessr challenge links that uses the GeoGuessr API written in rust.

GeoGuessr-bot-rs This is a simple implementation of a discord bot that send GeoGuessr-challenge links on demand. Features: Slash-commands Lightning-fa

🦴🤖 // A Discord bot about collecting all the Borpa

🦴 🤖 Borpa Bot Borpa Bot is a Discord bot about collecting all the Borpa possible. If you dont know what a Borpa is you can find it here Crate Descri

A scriptable discord bot (WIP)

Status This project is currently a VERY EARLY WORK IN PROGRESS. Contact me on discord for more details: Jonas747#0001 (105487308693757952) BotLoader (

🦜 A hassle-free, highly performant, host it yourself Discord music bot built with Serenity in Rust. Powered by youtube-dl and Genius.

🦜 A hassle-free, highly performant and fast evolving Discord music bot built with Serenity in Rust. Deployment Usage Just create a bot account, copy

The best discord bot to annoy @a3mat
The best discord bot to annoy @a3mat

A3mat v pomoyke The best discord bot to annoy @a3mat Usage: This command moves pinged users n times: move number [users...] This command moves ping

Comments
  • Add basic music system

    Add basic music system

    This PR implements a basic music system for the bot with the following features:

    • /queue (show the current queue)
    • /play (add a song to the queue)
    • /next (skips the current track)
    • /join (joins a voice channel)
    • /leave (leaves a voice channel)
    opened by nonamescm 7
  • Several improvements

    Several improvements

    • [x] Panic when bot fails to setup
    • [x] Improve embeds
    • [x] Standardize command descriptions and transform all commands into subcommands
    • [x] Standardize error messages
    • [x] Ephemeral messages (Music)
    opened by yxqsnz 0
Owner
Codify Community
Somos uma comunidade de desenvolvedores que tem como objetivo ajudar iniciantes no mundo da programação.
Codify Community
Rewrite of the Discord Bot used for Managing the Infinity Bot List Servers.

Arcadia Rewrite of the Discord Bot used for Managing the Infinity Bot List Servers. Contributing Always run fmt.sh before making a Pull Request! MacOS

InfinityBotList 3 Dec 15, 2022
Community SVD file, peripheral access crate in embedde Rust for WinnerMicro W800, W801 & W806 chip

Community SVD file, peripheral access crate in embedde Rust for WinnerMicro W800, W801 & W806 chip

Luo Jia 37 Jul 31, 2022
Community showcase and examples of Actix ecosystem usage.

Actix Examples Curated examples using the Actix ecosystem. Community Showcase Merino: Web service for Firefox Suggest lemmy: A federated alternative t

Actix 2.9k Dec 31, 2022
A simple bot for discord.

Rusky Um simples bot para o discord! ?? Executando ⚠️ Antes de tudo você precisa do Rust Instalado você pode instalar clicando aqui Preparando Primeir

Rusky 3 Aug 12, 2022
A Simple, But amazing telegram bot, Made using the Rust language!

Telegram bot in Rust A fun Telegram bot made using Rust language.

Deep Alchemy 2 Dec 21, 2021
This is a Telegram bot I'm working on in my free time to learn Rust.

Maldness Bot This is a Telegram bot I'm working on in my free time to learn Rust. Building docker build -t . should be enough.

Sergey Kislyakov 10 May 13, 2022
Play Onitama in your browser, compete with friends or lose to a bot

Play Onitama in your browser, compete with friends or lose to a bot

Jack Adamson 52 Nov 12, 2022
A Discord bot for lichess and Rosen related things

liro Liro is a Discord bot that follows in the footsteps of Lichess-discord-bot, without necessarily aiming to replace it. The main pain point that th

Sebastian Lauwers 5 Feb 16, 2022
This is a simple Telegram bot with interface to Firefly III to process and store simple transactions.

Firefly Telegram Bot Fireflies are free, so beautiful. (Les lucioles sont libres, donc belles.) ― Charles de Leusse, Les Contes de la nuit This is a s

null 13 Dec 14, 2022
Hi I'm Sophy, a discord bot in devlopment, soon I'll be available to help everyone (❁´◡`❁)

Sophy Bot Hi I'm Sophy, a discord bot in devlopment, soon I'll be available to help everyone (❁´◡`❁) Contribution Do you like me and want to help me?

Far Dragi 0 May 30, 2022