Files
EventDiscordBot/README.md
Karolis2011 e9f59780ed Adds role specific channels.
Read ME update

Updating tile of role will update revelant channels and roles.

Added command examples.

Fixese leaks
2019-08-01 20:25:28 +03:00

14 lines
542 B
Markdown

# EventBot
## Environment variables
### `token` variable
This is variable for discord bot's token obtained from discord developer panel.
### `dbconnection` variable
This is environment variable for Mysql / MariaDb database connection. Example connection string:
```Server=localhost,123;Database=eventbot;User=root;Password=password;```
## Making migrations
`Add-Migration InitialDatabase -Context MySqlDatabaseService -OutputDir Migrations\MySql`
`Add-Migration InitialDatabase -Context SqliteDatabaseService -OutputDir Migrations\Sqlite`