Giter Club home page Giter Club logo

discord-bot's Introduction

fwew discord bot

License: GPL v2

The Best Na'vi Dictionary as a discord Bot.

To get the usage, write $help to the bot.

Development

This option is mostly for Contributors and Developers. Or people who like to compile stuff themselves. You will need the GO Programming Language and Git installed.

Setup

We are using go modules so no GOPATH setup is needed.
To compile the bot simply run:

cd ~/wherever/you/want
git clone https://github.com/fwew/discord-bot
cd discord-bot
go build ./...

Config

The discord bot token has to be placed in conf.json. Just copy the conf.json.example as conf.json and place your token as value of the token field.

After these steps you have an executable, that can be run directly, for the operating system your currently on.

To run the Bot correctly, you have to put the dictionary.txt file in one of the following directories:

  • . (next to the executable)
  • ./.fwew/ (into a .fwew directory, next to the executable)
  • ~/.fwew/ (into a .fwew directory in the home dir.)

Dictionary can be downloaded from the main repository or from tireas Learnnavi page

Misc

To cross compile:

GOOS=darwin go build -o bin/mac/fwew_mac ./...
GOOS=linux go build -o bin/linux/fwew_linux ./...
GOOS=windows go build -o bin/windows/fwew_windows.exe ./...

Statistics

The bot by itself will create anonymized statistics, about each call to the bot inside the statistics directory. These statistics only save, what Parameters were used per command. Each command has its own file where it is saved. The statistics directory will automatically be created next to the executable.

discord-bot's People

Contributors

lizardgai4 avatar corscheid avatar knoxfighter avatar tirea avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.