Skip to content

typeofweb/typeofweb-discord-bot

Repository files navigation

Type of Web Discord Bot

All Contributors

Getting Started

Prepare project

Run yarn to install all dependencies

[Based on windows system]

If an error with Python occurs open the system console with admin privileges and type:

yarn --add-python-to-path='true' --debug install --global windows-build-tools

If that was the case run again yarn to install dependencies properly.

Setup environmental variables

Create .env.dev file based on .env.dev-sample (just copy and rename it). Fill the API keys with 0 if you don't have them.

Connect to development bot

Create a new discord server where you will be testing your bot.

Follow this tutorial to create a new bot. Then add it to your server.

Use the bot token in .env.dev file.

Run the server

Use yarn dev to start the server.

You should get this in your console, which suggests that everything went ok.

Server running!
Logged in as [Bot Name]!

You will probably get some errors like "Failed to connect to database" as well. Don't worry about them if you don't need the database.

When you log into the discord server you should see that your Bot is active. You can use one of the existing commands like !co to try it out :)

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Michał Miszczyszyn
Michał Miszczyszyn

💻 🤔 🚇 👀
Deeadline
Deeadline

💻 🤔
przytrzask
przytrzask

💻 🤔
nanoDW
nanoDW

💻 🤔
Secrus
Secrus

💻 🤔 📖
larto42
larto42

📖
jkonieczny
jkonieczny

💻 🤔 ⚠️ 🛡️
Kuba Domański
Kuba Domański

💻
Survikrowa
Survikrowa

💻 🤔
Adam Siekierski
Adam Siekierski

💻 🤔
Olaf Sulich
Olaf Sulich

💻
Jakub Wąsik
Jakub Wąsik

💻
Jakub Kisielewski
Jakub Kisielewski

💻
Bartosz Dryl
Bartosz Dryl

💻
Łukasz Dymek
Łukasz Dymek

💻
kamiloox
kamiloox

💻
Bartosz Zagrodzki
Bartosz Zagrodzki

💻 📖
Michał Michalczuk
Michał Michalczuk

💻 🐛
Adrian Polak
Adrian Polak

💻
Karol Syta
Karol Syta

💻 🤔

This project follows the all-contributors specification. Contributions of any kind welcome!