Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/credfeto/credfeto-notification-bot
notifications bot
https://github.com/credfeto/credfeto-notification-bot
Last synced: about 1 month ago
JSON representation
notifications bot
- Host: GitHub
- URL: https://github.com/credfeto/credfeto-notification-bot
- Owner: credfeto
- License: mit
- Created: 2022-02-20T15:42:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T03:57:44.000Z (about 2 months ago)
- Last Synced: 2024-11-15T04:26:46.637Z (about 2 months ago)
- Language: C#
- Size: 5.81 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# credfeto-notification-bot
Notifications bot
## Changelog
See [CHANGELOG](CHANGELOG.md) for history
## Running a development version
1. Create a private Discord server by following the steps explained
here: [https://support.discordapp.com/hc/en-us/articles/204849977](https://support.discordapp.com/hc/en-us/articles/204849977)
.2. Create a Discord Bot and invite it to your server by following the steps explained
here: [https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token)
.https://discord.com/oauth2/authorize?scope=bot&permissions=68608&client_id=YOUR_CLIENT_ID_HERE
4. Application configuration settings:
* `Discord:Token` [Required] Must be configured with the Discord Bot User Token.
4. Create a Twitch Application and authorise it:
* Create a twitch App here: https://dev.twitch.tv/console
* Authorise the twitch app https://id.twitch.tv/oauth2/authorize?response_type=code&client_id=\[Twitch API Client Id
goes here\]&redirect_uri=http://localhost]
*
e.g: https://id.twitch.tv/oauth2/authorize?response_type=token&client_id=clientId&redirect_uri=http://localhost&scope=chat%3Aread+chat%3Aedit+channel%3Amoderate
5.6. Choose how you want to configure the application:
* Update `appsettings.json` inside the `Credfeto.Notification.Bot.Server` project and add the following contents:
```json
{
"Twitch": {
"Authentication": {
"Chat": {
"UserName": "[Twitch Chat Bot Username goes here]",
"OAuthToken": "[Twitch Chat Bot OAUth Token goes here]"
},
"Api": {
"ClientId": "[Twitch API Client Id goes here]",
"ClientSecret": "[Twitch API Client Secret goes here]",
"ClientAccessToken": "[Twitch API Client Access Token goes here]"
}
},
"ChatCommands": []
}
}
```7. Deploy the database to postgres DB. from the files in the `db` folder.
8. Build and run the `Credfeto.Notification.Bot.Server` application. You should see the bot come online in Discord and
join the channels in twitch.### Notes
1. The discord bot will not reply to you in the General channel!