Code Monkey home page Code Monkey logo

baymax's Introduction

Baymax

The official discord bot of TinkerHub NSSCE

Report a Bug ยท Request feature

Baymax is the official Discord bot of TinkerHub NSSCE, designed to manage the server effectively and efficiently while also keeping it lively by engaging in natural conversations with users.

Overview

Baymax was developed in an effort to automate and streamline the onboarding process to TinkerHub NSSCE's discord server providing the members an easier and quicker way to get themselves verified and gain complete access to the server. But it doesn't stop there, Baymax is capable of much more๐Ÿ”ฎ

Here's what Baymax can do :-

  • He can send you a greeting message on joining the server with steps to onboard the server
  • He can detect once you've succesfully onboarded and assign appropriate roles and a nickname
  • He sends out a beautiful image with your discord avatar and nickname once onboarded
  • He can answer your common queries regarding onboarding
  • He has answers to common questions regarding TinkerHub
  • He is self-aware and can provide answers to questions about himself
  • He can do a lot of small talk, try asking him for jokes
  • He can lighten you up with inspiring quotes if you're feeling down
  • He can find the latest hot news in tech and deliver them directly to the server

Well there certainly is a lot more he can do, if you're curious then you can find out for yourself by joining our server here ๐Ÿ‘‰ https://discord.gg/2bBPbdRud6

How to configure?

You can host the bot locally by configuring all necessary values in the config.ini file

  • Copy config.ini.sample to a new file config.ini and replace all placeholders with appropriate values
  • Copy .env.sample to a new file .env and replace the placeholder with your bot token
  • Download a private key file for dialogflow in json format from your google cloud console. To learn more click here
  • Rename the downloaded file to dialogflow_api.json and place it in the root directory
  • Install all the requirements
$ pip install -r requirements.txt
  • Run the bot
$ python main.py

How does it work?

Here's a few example screenshots of how the bot actually works

  • Welcome message sent to user on joining

Screenshot 2022-09-21 093503

  • Welcome card sent to a channel on succesful onboard

Screenshot 2022-09-21 095523

  • Questions about himself

Screenshot 2022-09-21 095004

  • Questions about TinkerHub

Screenshot 2022-09-21 095055

  • Small talk, jokes and uplifitng quotes

Screenshot 2022-09-21 095232

Screenshot 2022-09-21 095311

  • Daily top HackerNews and weekly top rated dev.to articles

Screenshot 2022-09-21 094809

Screenshot 2022-09-21 094851

  • Private message handling and forwarding them to a private channel

Screenshot 2022-09-21 104348

What's under the hood?

You can find all the required dependencies in the requirements.txt file. However here's an overview of the major libraries/tools we've used to create Baymax :-

Contributing

๐Ÿ’ก You can refer to our contributing guide to get started with making contributions

Do you have any thoughts on improving the bot? Ideas, design changes, code cleaning or even major codebase revamps, any and all such contributions are always welcome. Baymax just keeps getting better with each contribution, no matter how big or small ๐Ÿ’ช. If you'd like to get involved, you can start with the issues listed in our issue tracker or you can create your own issue here.

baymax's People

Contributors

andermendoza avatar aravinds-arv avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

baymax's Issues

Add a help command

Please describe your idea.
Add a !help command to display the available commands

Additional context
None

Use logging instead of printing

Please describe your idea.
Currently all log messages are being printed to the console. It would be more helpful if they are stored in a log file.

Describe how the idea would be helpful
Log messages if stored in a file could help in debugging issues in the bot in the future.

Additional context
None

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.