Skip to content

The code to use your Machine learning "Botlibre bot" at discord

License

Notifications You must be signed in to change notification settings

supreen/botlibre_discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

botlibre_discord

The code to use your Machine learning "Botlibre bot" at discord

It uses

  • Botkit: a handy bot building framework
  • Discord.js: a node module for connecting to the Discord API
  • Botkit Discord: A connector that allows you to use Bokit and Discord.js
  • Uptime Robot: A monitoring service that helps keep your bot running 24/7 (OPTIONAL)
  • How to setup a Discord bot

    You will need a bot token, to generate one follow these steps:

    • Go to https://discordapp.com/developers and login
    • Create an application and give it a name and a description
    • Select "Save Changes" at the bottom right and then navigate to the "Bot" section on the left-hand side.
    • There, create a bot user by clicking on "Add Bot". After confirming, reveal the token.
    • Copy and paste this token in discord_token in .env

    Invite the bot to your discord server:

    • Go to OAuth2 section of your developer application
    • Under SCOPES check bot
    • Under BOT PERMISSIONS check Manage Roles
    • Now go to the url generated in the SCOPES section and invite the bot to your server

    How to get Bot Libre key

    • Go to Botlibre.com and sign in with your email and password
    • Click on "My Bots"
    • click on your bot name
    • now you got something like "https://www.botlibre.com/browse?id=32723068" in your url
    • "32723068" is your bot id. paste it in .env as botid

    Configuration steps

    • Install Node.JS
    • Download the latest bot version from the release tab and unzip it
    • Go to the config folder, copy and paste the config files
    • Go back to the root folder, open a terminal here and run these commands: npm install, wait for it to finish then run npm start.
    • Run "npm install discord.js" , "npm install express" and "npm install request" (if required)
    • Congratulations, if you did everything correctly you now have bot running.

    Consider buying me a coffee, if you loved my work.

  • https://www.buymeacoffee.com/suprin

    If you are still finding it hard, Hire me

  • https://www.fiverr.com/supree