Skip to content

The basic structure of a discord bot, written in elixir

Notifications You must be signed in to change notification settings

kshannoninnes/sample_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElixirBot

An example discord bot written in Elixir. Designed to be easy to understand and modify to suit to your needs, with lots of comments to explain what's going on.

Usage

Clone to the location of your choice. Create a runtime.exs file inside /config using the example provided. Once you've filled in the bot token and the (optional) guild_id section, open a terminal, ensure you're inside the project directory, and run with iex -S mix. While you're working on the bot, you can use the recompile/0 function call within this iex environment to recompile your code without re-running your app entirely. Deployment is an exercise left to the user, but there are several options. I currently deploy using a custom Dockerfile script.

About

The basic structure of a discord bot, written in elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages