Coder Social home page Coder Social logo

pcmode / discord_chatbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arpan-mandal/discord_chatbot

0.0 0.0 0.0 16 KB

A very simple code to make your own 24/7 AI Chat Bot that talks like humans and can answer all of your questions except some dum one's...

JavaScript 100.00%

discord_chatbot's Introduction

Discord_ChatBot

A very simple code to make your own 24/7 AI Chat Bot that talks like humans and can answer all of your questions except some dum one's...

Bot Creation:

This is a guide if you are new to repl.it or bot making! If you already have experience, Skip to 24th line!


• Make a new application in Here by clicking New Application and giving it a cool name.

• Now as you have made a new application, head over to the OAuth2 tab in the left.

• Now select ◻️ bot in Scopes menu.
alt text
• Scroll down to Bot Permissions menu and select the permissions as given below...
alt text
• Now copy the link that is given below the Scopes menu and head over to the Bot tab in the left!

• Click ADD BOT and paste the link that you copied in a new tab of your browser.
alt text
• It will ask you to add the bot that you just made to a server. Add it!

• Cool, you made a bot and also invited it to a server!

Installation of Bot Code


• Go to repl.it, make an account and click +Create Repl and again click Import from GitHub present at top right corner.

• Copy & paste my repo link and hit enter. It will load my repo in there.
• Then it will ask for Language and Start Button Config! Just select Node.js and type node index.js where it asks for start button configuration!

• Now head back to Discord Developers Application and copy the Bot Token using the following picture
alt text
• Go to secret's tab in repl.it repo and add a new secret. Put the Variable as TOKEN and put your bot token as the key!

• It should look like this!
alt text
• Go to Advanced menu in Discord settings and enable Developer Mode...

• Right click a channel where you want the bot to talk and click copy ID.

• Paste it in line 19 where it's written "put channel ID here". Remember: don't remove the quote sign in the code!

• Click Run button at top and your bot will come alive! Just say hello in the channel you selected and the bot will start talking!

• To make this bot always running, copy the link that is given at top right corner of repl it and goto uptimerobot.com and make new monitor and paste it while selecting HTTPS!

Enjoy talking with your own bot!:)

If you are having trouble, watch my video!:D

discord_chatbot's People

Contributors

arpan-mandal 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.