GithubHelp home page GithubHelp logo

lxonwww / streambot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6 KB

Simple Discord Bot, that notifies everyone in a channel, when someone with a specified role is streaming on YouTube or Twitch.

License: MIT License

Python 100.00%
bot discord discord-bot

streambot's Introduction

StreamBot.py

StreamBot.py is a very simple discord bot, that notifies members in a specified channel when someone with a specific role is streaming on Twitch or YouTube.

The streamers on your server must have their streaming platform accounts linked to their Discord accounts!

Setting up StreamBot.py

  1. Install Python (Click here).

  2. Install Discord.py (Click here).

  3. Download bot.py.

  4. Create a discord application here.

  5. On the application dashboard create a bot.

  6. Open "bot.py" with a suitable editor or IDE, I'm personally using Atom.

  7. Then go to the last line of the file and replace 'ENTER YOU TOKE HERE' with the bot's token from Discord's application dashboard.

  8. Enable developer mode in Discord's settings.

  9. Create a streaming role and copy the id of your streaming role by right clicking.

  10. Insert the streaming role id at line 10. Replace 'YOUR_STREAMER_ROLE_ID' with your streaming role id.

  11. Copy the id of your streaming announcements channel by right clicking.

  12. Insert the streaming announcement channel id at line 11. Replace 'YOUR_STREAM_ANNOUNCEMENT_CHANNEL_ID' with your streaming announcements channel id.

  13. Now save the file an you're good to go.

Starting your StreamBot

The bot can be started with the following command, please replace the leading slashes with the path to your "bot.py" file. python3 path/to/your/directory/bot.py

streambot's People

Contributors

lxonwww 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.