Coder Social home page Coder Social logo

correaalex / sirensdiscordbot Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 23 KB

Discord air alarm bot | Discord бот повітряних тривог

Home Page: https://discord.com/api/oauth2/authorize?client_id=982001545266733146&permissions=8&scope=bot%20bot

Dockerfile 3.07% C# 96.93%
csharp discord-bot dsharpplus ukraine ukrainewar ukrainian-language

sirensdiscordbot's Introduction

SirensDiscordBot

  • 🇺🇦 Простий бот повітряних тривог для вашого Discord серверу. Ви можете безкошновно створити власного бота та розмістити його на власному віддаленому сервері (наприклад на Oracle Cloud Free Tier) за допомогою цієї інструкції, або використовувати готове рішення на вашому Discord серверу. Бот використовує стороннє API.
  • 🇬🇧 A simple air-raid bot for your Discord server. You can create your own bot for free and place it on your own remote server (e.g. on Oracle Cloud Free Tier) using these instructions, or use a ready-made solution on your Discrod server. Bot uses API.

Для початку

1. Встановити Docker

2. Встановити Docker Compose

3. Копіювати репозиторій.

  $ git clone https://github.com/correaAlex/SirensDiscordBot.git

4. Перейти в репозиторій

  $ cd SirensDiscordBot

5. Змініть ім'я користувача та пароль бази даних в файлах:

docker-compose.yml

  MYSQL_USER: yourUserName
  MYSQL_PASSWORD: yourPassword

App.config

  <add key="ConnectionString" value="server=db;port=3306;user=yourUserName;password=yourPassword;database=sirens_bot"/>

6. Створити Discrod бота

7. Додайте токен свого бота в файл App.config

  <add key="Token" value="YOUR_TOKEN"/>

8. Додайте свого бота до вашого серверу

9. Виконайте команду:

  $ sudo docker-compose up

10. В текстовому каналі вашого серверу виконайте команду !start та слідуйте інструкціям

Getting started

1. Install Docker

2. Instal; Docker Compose

3. Copy repository.

  $ git clone https://github.com/correaAlex/SirensDiscordBot.git

4. Move to folder repository

  $ cd SirensDiscordBot

5. Change database settings in files:

docker-compose.yml

  MYSQL_USER: yourUserName
  MYSQL_PASSWORD: yourPassword

App.config

  <add key="ConnectionString" value="server=db;port=3306;user=yourUserName;password=yourPassword;database=sirens_bot"/>

6. Create Discrod bot

7. Add bot token App.config

  <add key="Token" value="YOUR_TOKEN"/>

8. Invite bot to you server

9. Run command:

  $ sudo docker-compose up

10. In text cahnel in you discord server type !start and follow instructions

sirensdiscordbot's People

Contributors

correaalex avatar

Stargazers

 avatar  avatar

Watchers

 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.