Giter Club home page Giter Club logo

psi_discordbot's Introduction

PSI_DiscordBot

A Discord chat bot written for PSI course at AGH University.

This repository is missing "token.txt" - you need to create it and put your bot's token inside.
If you want to use OpenWeatherMap API functionality you also need to replace API_KEY in settings.txt file.
"inviteLink.txt" includes an invitiation link - for your own use replace ID in there for your own.
The bot is configured to write only on the "psi_bot_chat" channel on the servers it's invited to.

A Discord bot with implemented intents.

Fully working in both English and Polish languages.

Intents:


  1. Questions about weather and daily forecast
  • uses OpenWeatherMap API to get both current weather data, as well as forecast for the next 7 days
  • you can use a variety of questions, like:
    • What's the weather like on monday?
    • What's the weather?
    • Jaka będzie pojutrze pogoda?
    • Jaka pogoda będzie w następny czwartek?
  1. Rolling a dice, choosing a random number
  • you can use a variety of questions, like:
    • Can you roll a dice for me?
    • Wylosuj proszę liczbę do 22
    • Give me random number smaller than 1000
  1. Telling a joke
  • you can use a variety of questions, like:
    • Tell me a joke!
    • Opowiedz mi kawał!
    • I wanna hear a joke
  1. Asking for a picture of a cat (or just wanting to see some online cat photos)
  • uses AWS Random Cat API to get new cat photos each time you trigger this intent
  • everyone who talks about cats on Discord server clearly wants to see cats
  • you can use a variety of questions, like:
    • Give me cats, mrrr...
    • Kotki!!!
    • Can you supply me with the newest picture of a cat? Pretty please?
    • Zapodaj zdjęcie kota, nie bądź sztywny
  1. Repeating a message
  • meant to be triggered, when the user forgot, what the bot said last time
  • can be used to trigger even more cat photos
  • you can use a variety of questions, like:
    • Can you repeat?
    • Again, please?
    • Czy możesz powtórzyć?
  1. Welcoming messages
  • meant to be triggered, whenever you welcome the bot
  • you can use a variety of questions, like:
    • Hello bot!
    • Yo, bocie!
    • Siema, psi_chat_bot!
  1. Goodbye messages
  • meant to be triggered, whenever you say "goodbye" of sorts towards the bot
  • you can use a variety of questions, like:
    • Bye bot!
    • Dobranoc bocie!
  1. Asking for the time
  • you can use a variety of questions, like:
    • What's the time?
    • Która godzina?
  1. Asking for running a timer / notification
  • you can ask a bot to start a timer for a specified amount of time
  • bot distinguishes questions for seconds and minutes
  • none of the running timers are blocking (bot keeps on working and multiple timers can work in parallel)
  • you can use a variety of questions, like:
    • Can you start a timer for 2 minutes?
    • Włącz proszę minutnik na 15 sekund
  1. Asking for a compliment
  • if you ask for it, the bot will compliment you :)
  • you can use a variety of questions, like:
    • Please, tell me a compliment
    • Skomplementuj mnie!
  1. Telling about the amount of users on the channel
  • the bot can count up how many users are currently on the channel
    • Can you tell me, how many people are on this channel?
    • Ile osób jest na kanale?
  1. Counting how many messages were sent
  • the bot can go back "in time" and scroll through the entirety of the text channel and count
    • How many messages were sent on this channel?
    • Ile wiadomości zostału ty wysłanych?

Go back to the top

psi_discordbot's People

Contributors

antipaink avatar

Stargazers

Szymon Zielinski 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.