Showing results for tags 'bot'. - Extra Life Community Hub Jump to content

Search the Community

Showing results for tags 'bot'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Extra Life News
    • Extra Life Updates
    • Best Practices
    • Community Content
    • Why I Extra Life
    • Fundraising
    • Contests
  • Gaming News
  • Features
  • Podcast


  • Extra Life Discussions
    • General Extra Life Discussion
    • Local Extra Lifers
    • Fundraising Ideas
    • Live Streaming Tips & Tricks
    • Official Extra Life Stream Team Discussion
    • Extra Life JSON Code Discussion & Sharing
    • Extra Life United
    • Extra Life Q & A
  • Articles & Extra Life Announcements
    • Announcements
  • Official Extra Life Guilds
    • Guild information and Discussion
    • Canada
    • Northeastern US
    • Southeastern US
    • Central US
    • Western US
  • Gaming Discussions
  • Other Stuff
  • Denver Extra Life Guild's Recent Posts


  • Extra Life Community Calendar
  • Extra Life Stream Team
  • Akron Guild
  • Albany Guild
  • Albuquerque Guild
  • Anchorage Guild
  • Atlanta Guild
  • Austin Guild
  • Bakersfield Guild
  • Baltimore Guild
  • Birmingham Guild
  • Boston Guild
  • Burlington Guild
  • Buffalo Guild
  • Calgary, AB Guild
  • Morgantown Guild
  • Charlottesville Guild
  • Chicago Guild
  • Cincinnati Guild
  • Cleveland Guild
  • Columbia, MO Guild
  • Columbus, OH Guild
  • Dallas Guild
  • Dayton Guild
  • Denver Guild
  • Des Moines Guild
  • Detroit Guild
  • Edmonton, AB Guild
  • Fargo-Valley City Guild
  • Fresno Guild
  • Ft. Worth Guild
  • Gainesville-Tallahassee Guild
  • Grand Rapids Guild
  • Halifax, NS Guild
  • Hamilton, ON Guild
  • Hartford Guild
  • Hershey Guild
  • Hudson Valley Guild
  • Houston Guild
  • Indianapolis Guild
  • Jacksonville Guild
  • Kansas City Guild
  • Knoxville Guild
  • Lansing Guild
  • London, ON Guild
  • Los Angeles Guild
  • Milwaukee / Madison Guild
  • Minneapolis / Twin Cities Guild
  • Montreal / Quebec City Guild
  • Nashville Guild
  • Newark Guild
  • NYC & Long Island Guild
  • Oakland / San Francisco Guild
  • Omaha Guild
  • Orange County Guild
  • Orlando Guild
  • Ottawa, ON Guild
  • Philadelphia Guild
  • Phoenix Guild
  • Pittsburgh Guild
  • Portland, OR Guild
  • Portland, ME Guild
  • Raleigh-Durham Guild
  • Richmond Guild
  • Sacramento Guild
  • Salt Lake City Guild
  • San Antonio Guild
  • San Diego Guild
  • San Juan, PR Guild
  • Saskatchewan Guild
  • Seattle Guild
  • Spokane Guild
  • Springfield-Champaign, IL Guild
  • Springfield, MA Guild
  • St. Louis Guild
  • Syracuse Guild
  • Tampa / St. Petersburg Guild
  • Toronto, ON Guild
  • Vancouver, BC Guild
  • Washington DC Guild
  • Winnipeg, MB Guild
  • Denver Extra Life Guild's Events
  • Extra Life Akron's Events

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Why I "Extra Life"







Blizzard Battletag

Nintendo ID




Xbox Gamertag

Found 4 results

  1. Hello Extra Lifers and welcome again. We will continue to build our custom Discord bot. This is the final chapter of this short tutorial. You can find the first two chapters here: Part 1 Part 2 Alright on the first two chapters we created our custom bot and prepared the environment in our PC to start coding our bot. As I explained at the beginning, I'm not explaining Javascript language and Node.js , I'm assuming you have a basic knowledge about development. - Go to your Discord bot folder and create a new one "commands" - Download the files bot.js, config.json, auth.json, bot.js on your main bot folder and extralife.js. inside commands folder recently created. Github repository Do you remember your bot's token (part 1)?, go to Discord Developer portal again and copy it from bot tab. Your bot will login with this token on Discord. DON'T SHARE YOUR TOKEN!. THIS IS LIKE YOUR PASSWORD. - Go to auth.json file and edit with notepad or any similar software. - Paste your token between the double quotes "token": "YOUR TOKEN HERE" and save. Node.js will run with the script bot.js, this script will read the auth.json file where your token is. If you did everything correctly would be able to login. - Open a command prompt on Windows. Run-> type cmd or start-> Windows System->Command prompt - Go to your bot folder from command prompt and run this command: "node bot.js" . You should get an output like this: The first message is a confirmation the script is reading the all scripts from commands folder, the important is "logged in as ExtraLife4kids bot example#xxxx" message, this is a confirmation that your bot is logged on Discord. It will be online on your Discord server too. Your bot is online and listening for commands. Type !extralife to get help. Excellent the bot is answering!. You can use the commands info, team, participant, etc. Extra Lifers this is the end of this short tutorial, if you want to customize your commands or add more feel free to do it on the extralife.js script. You can do a lot of stuff learning node.js and Javascript. If you need to stop your bot press crtl + v on keyboard. Your bot is running local on your computer, each time you turn off your PC or close the command prompt window, your bot will be offline. If this tutorial was useful for you, let me know and I will tell you how you can run your bot 24*7 for your Discord server. Questions or doubts reach me, glad to help you. The purpose of this tutorial is to continue with the Extra Life campaign spreading the word via Discord this time. If you enjoy, please share for the kids!!!! See you soon. Besos!
  2. Hello and welcome again. We will continue to build our custom bot. We saw how to start building the bot with Discord API on first part of this tutorial, we’re going to install node.js before coding your bot. The first part of this tutorial is here: PART 2 First, what’s node.js?. Simple and quick explanation: The node.js run-time environment includes all you need to execute java programs written in Java Script. Our bot will be written in JS, Discord and web applications are built with JS too. Node.js is open source, you can work with it on Linux, Mac or Windows OS. It’s a standard. Node.js’ package ecosystem, npm, is the largest ecosystem of open source libraries in the world. We will use npm to download the Extra Life (to get Extra Life info) and Discord.js (to work with Discord) packages. If you get experience you can get more packages for other cool stuff. Let’s start. First step Install Node.js in your computer. I won't explain how to install because depends of each operating system but the process is simple like installing any other software: I’m demonstrating this example on Window System. It’s similar on Linux and Mac. Create a folder for your Discord bot, mine is “Discordbot” Long version explanation (shorter will added later): Open a command prompt on Windows. Run-> type cmd or start-> Windows System->Command prompt Go to your bot folder and run the command “npm init -y” to initialize your Project. This will create a package.json file. No worries, this is like a configuration file to read dependencies, scripts, descriptions, etc. Let’s continue by installing the Discord.js library. This library will allow you to interact with Discord API. Remember you built your bot with the Discord API on part 1. Run the command “npm install --save discord.js”. You will see the following output. No worries for the warnings. Now you have the discord.js library on your computer. Let’s move by installing the Extra Life library to interact with the Extra Life API. Run the command “npm i extra-life-api”. The output is the following. You have the Discord API on your computer too. Let’s do a brief check list. Bot application created on Discord portal (Done) Project initiated (Done) Node.js installed (Done) Discord.js library installed (Done) Extra Life library installed (Done) Alright You got your application bot created and the environment to start coding your bot is ready. Next chapter I will explain how to start to login and run your bot. It will read your Extra Life commands. If you enjoy this, please share!
  3. Extra Life has grown up last years. Today we got overlays, Extra Life helpers and donations alerts on Streamlabs and Streamelements but what about Discord? nothing that I know. I didn’t find a good way to check my participant or team information directly from my Discord server, I needed to visit the official web site every time I needed to check the info. I started to think a way to get common Extra Life info directly from Discord using simple commands, faster and easy, why? because Extra Life is on Twitch, Twitch is integrated with Discord and some Discord communities are strong and supporting Extra Life, it’s good way to post information about your Extra Life campaign, your donors, your goals, your Extra Life marathon, the Extra Life stream team schedule and more for you members. Possibilities are many. What did I need to do that? A custom bot and a way to get the information. I’m going to share this short tutorial to build your custom bot and use the new Extra Life API to build your own commands. This API was released some weeks ago. Requirements: - A Discord account - Basic development knowledge about Node.js and Javascript. - The Extra Life API: Note: I always suggest to use a test environment. There is not risk about security issues because you’re using a Discord API, Extra Life API and you’re setting your bot permissions. You can add and remove your bot anytime. This is not an Extra Life official bot, I'm explaining how you can build one yourself. The Extra Life bot name and logo are friendly examples for this tutorial. Please if you want to use them ask for approval to staff team or team leaders. The first part of this tutorial is show you how you can build your Discord Application (your bot), you will find different ways to do this on internet, use whatever best suits for you. You will add your bot to your Discord Server, later you will be able to build your Extra Life commands as your preference. Here we go: PART 1 I'm assuming you already have a Discord account, if not create it please. Go to Discord Developer Portal and select applications: Click on new Application Write a name and create General info tab: Upload a picture, complete the description (optional) and save the changes. Go to bot tab and click on add bot. After confirmation your bot will have visibility with Discord. After bot creation. You will see a confirmation a new options available. Now your bot has a token, this works like a password so take care of it. You can regenerate it any time in case your security is compromised. This token will allow you to connect your bot with Discord when you start to build your commands. Go to oauth tab. We’re using a bot application so our scope is “bot” and set your permissions. on the permissions you set like any other bot (Dyno, Mee6, couchbot, etc). I’m using few here permissions because I don’t want the bot manage channels, roles, kick members or these kind of administration actions. The bot just use commands to get Extra Life information. If you want to give your bot more permissions for administrations purposes is up to you. The red number are your permissions, it will change each time you add or remove permissions, you can calculate this number on bot tab too. Copy the link and paste it on your browser. See what happens. If you did all correctly, you will authorize your new bot to join your Discord server with the permissions you set before. It’s clear, isn't it? Now choose your Discord server and set authorize. You receive the following confirmation. Go to your Discord Server and check if the bot is joined. It should be there offline. Alright your bot is joined and offline. Why offline? because you used the Discord API to build your bot but it still wasn’t developed to listen messages, read commands and reply. What did you learn here? Use the Discord API to build your bot. Understand how permissions work and are set. Understand how bot invitations work. Understand how your bot joins on your Discord server. Next chapter I’m going to explain how you should install Node.js to start coding your bot. You will use your bot token to login on Discord, it will be online and ready to listen for messages. If you enjoyed this content, please share it!!!
  4. Fellow streamers! Just wanted to inform you of the latest troll tactic going around. Someone pops into the chat, makes some inane comment referencing streambot (either asking if you use it or suggesting that you do) and then leave. These are simply trolls and a minor nuisance but because it is becoming so prevalent the official stream ( had to blacklist the word "streambot" to stop the spammers. I would suggest doing the same on your personal streams. This is primarily just to confuse or upset you, so if you get one of these just remember....
  • Create New...