humansonofhuman / awesome-discord-bot-with-rust

Discord bot with database postgres connection made with rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Awesome discord bot made with rust and serenity

This is a discord bot that can connect with an brain API, it response as a chatbot and can search resources, memes, jobs offers, etc.

Features

  • Conection with the API
  • Send the resources to the API
  • Show responses

How it works

This is a heroku based project

Setup Django

  1. Configure your heroku project, save the name

  2. Configure your .env file, use the .env.example file as a template

  3. Build the docker development and run it to make sure everything is ok

docker build -t worker:latest .
docker run -d --name <herokuname> worker:latest
  1. You can deactivate like this
docker stop <herokuname>
docker rm <herokuname>
  1. You can upload your project with this commands
docker run -d --name <herokuname> worker:latest
heroku container:login
heroku container:push worker -a <herokuname>
heroku container:release worker -a <herokuname>
  1. You are ready

More interesting projects

I have a lot of fun projects, check this:

Machine learning

Games

Random

Licence

This proyect uses Django, tweepy, dropbox libraries, also was made to work with heroku but everything else was totally handcrafted by me, so the licence is MIT, use it as you want.

Let's connect 😋

Hector's LinkedIn     Hector's Twitter     Hector's Twitch     Hector's Youtube    

About

Discord bot with database postgres connection made with rust

License:MIT License


Languages

Language:Rust 94.2%Language:Dockerfile 4.2%Language:Shell 1.6%