iceberg

command module
v0.0.0-...-58cb621 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: AGPL-3.0 Imports: 10 Imported by: 0

README ¶

Iceberg 🧊

Iceberg is a Discord bot created for the BlockHermit server. It has music, name verification, tools related to the BlockHermit Minecraft server and more fun stuff.

Note: this is the rewrite and is still in development. Feel free to contribute as below.

Contributing ✨

Any contributions are welcome. From grammar corrections to entirely new features or just prettifying some commands.

If you plan to add new features (commands, subcommands, something small, etc.) PLEASE create an issue first. Give it a fitting title and a nice description explaining what it will do and why it would be good to add. It would be a bummer if you make something but then it's not even added.

Running the bot 🚒

  1. Firstly, install Go. Make sure you download a version that is fairly new (1.14+) just so it all works.
  2. Make sure you have a Java version installed that is higher than 1.11. There currently is no way to run the bot without music, and thus without Java.
  3. Also install a GCC compiler if you don't have one already (try running gcc in a command prompt).
    • You can use MinGW on Windows for easy installation management. In MinGW, select recommended for C/C++. Hit install. You can later return here to easily delete it later if you want. Just look for "MinGW" in the start menu.
  4. Open a command line, navigate to a desired folder (e.g. desktop) and clone this repo:
git clone https://github.com/lieuweberg/iceberg.git && cd iceberg
  1. Install dependencies:
go get
  1. Rename config.example.json to config.json and add a bot token. See this for how to obtain one and invite a bot to a server. Make sure to do this in a private/test server.
  2. Install Lavalink, the bot's music player, from here. Click Lavalink.jar on the left and save it to the .lavalink folder. Run
java -jar ./lavalink/Lavalink.jar
  1. Open a new command line and run the bot (always start Lavalink before the bot):
go run main.go

License 🔑

See the LICENSE file

Documentation ¶

The Go Gopher

There is no documentation for this package.

Directories ¶

Path Synopsis
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL