Celestial - a Python regex Discord chatbot who can talk with you.

Overview

Celestial

a Python regex Discord chat bot who can talk with you.

Invite url: https://discord.com/api/oauth2/authorize?client_id=927573556961869825&permissions=283669424144&scope=bot

Usage

You can talk to the bot by DM the bot or invite the bot to your server and type


   
     your message goes here

   

to send your message to the bot.

Examples

Dependencies

this project uses nextcord as a main dependencies as a wrapper for Discord API.

Download the dependencies by using command:

pip install nextcord

Contributions

You can contribute to this project by updating the responses.json

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Comments
  • need bot help function suggestions

    need bot help function suggestions

    Right now this bot has no help function for the user to know how to use this bot.

    I need some suggestion for the help command and how it should looks like Should I do it as a discord embed or just plain text?

    enhancement help wanted 
    opened by StrixzIV 4
  • Add multiple response for festival intents

    Add multiple response for festival intents

    I update the chat module and the data JSON schema to support multiple response that corresponding to the date condition as shown:

    One-day example

    "new_year_en": {
        "response": {
            "fes": [
                "Happy new year! I hope next year would be a great year!"
            ],
            "nonfes": [
                "It's not new year yet."
            ]
        },
        "list_of_words": ["happy", "new", "year"],
        "is_single_response": false,
        "required_word": ["new", "year"],
        "date": 31,
        "month": 12
    }
    

    A response object with two keys, fes and nonfes, each corresponding to a list of messages. If the current date is the same as the festival date, the bot will respond with a message from the fes list. If not, it will reply with a message from the nonfes list.

    Variable-length example

    "new_year2_en": {
        "response": {
            "fes": [
                "Happy new year! I hope next year would be a great year!"
            ],
            "nonfes": [
                "It's not new year yet."
            ]
        },
        "list_of_words": ["happy", "new", "year"],
        "is_single_response": false,
        "required_word": ["new", "year"],
        "date": [1, 2],
        "month": 1
    }
    

    If the current date is in festival date range, the bot will respond with a message from the fes list. If not, it will reply with a message from the nonfes list.

    documentation enhancement 
    opened by StrixzIV 1
  • Found JSON UnicodeDecodeError when testing on Windows

    Found JSON UnicodeDecodeError when testing on Windows

    I found this error when I'm testing on windows, somehow the JSON library couldn't decode the chat intents data

    encoding_err

    All tests that I ran before had no issue or error running when tested on UNIX or *nix-based OS

    bug 
    opened by StrixzIV 0
  • Update : badwords.json & responses.json

    Update : badwords.json & responses.json

    UPADATE

    badwords.json

    • Add another word in there

    responses.json

    • Add new intent and update a few intents so it works properly.

    Have a great day. :3 -Your coworker and your friend.- -Peachpiggies-

    enhancement 
    opened by Peachpiggies 0
  • Add intents in responses.json & responses_th.json

    Add intents in responses.json & responses_th.json

    responses.json

    add :

    • sport
    • music

    responses_th.json

    add :

    • sport_th
    • music_th

    I still don't have any updates in the previous intents. @StrixzIV can you recheck these intents?

    :3

    opened by Peachpiggies 0
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 25% 🎉

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /assets/cli-test-preview.png | 104.82kb | 74.08kb | 29.32% | | /assets/Preview.png | 73.48kb | 59.74kb | 18.69% | | | | | | | Total : | 178.30kb | 133.83kb | 24.94% |


    📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

    ~Imgbot - Part of Optimole family

    opened by imgbot[bot] 0
  • Change engine's word iteration

    Change engine's word iteration

    I change how the intents is loaded and check by changing the loaded list into set to help improve the performance in the "list_of_words" and "required_word".

    enhancement help wanted 
    opened by StrixzIV 0
  • update : responses.json & responses_th.json

    update : responses.json & responses_th.json

    update & add : responses.json & responses_th.json

    • update : responses.json : "another_world"

    • add : "lazy" & "lazy_th" in both responses.json & @responses_th.json

    • add : "sleep" & "sleep_th" in both responses.json & responses_th.json

    @StrixzIV # #

    enhancement 
    opened by Peachpiggies 0
  • -update : responses.json & responses_th.json

    -update : responses.json & responses_th.json

    • responses.json added "your_job" and "different_world"
    • responses_th.json added "your_job_th" and "different_world_th"
    enhancement 
    opened by Peachpiggies 0
  • Request: Add more responses when encounter unknown intents

    Request: Add more responses when encounter unknown intents

    Add more unknown responses

    I want more unknown responses message in both Thai and English

    For now, we have:

    EN Unknown responses

    • Could you re-phrase that?
    • ...
    • Sounds about right
    • What does that mean?

    TH Unknown responses

    • เมื่อกี้ว่าไงนะคะ?
    • ...
    • ก็น่าจะดีนะคะ
    • หมายความว่าไงคะ?

    I have no idea what to be added to this list. If you have any suggestion, please provide us some.

    enhancement help wanted good first issue Feature request 
    opened by StrixzIV 0
Owner
Jirayu Kaewsing
I'm a developer from the E-AI major of SPSM
Jirayu Kaewsing
Repository for the IPvSeeYou talk at Black Hat 2021

IPvSeeYou Geolocation Lookup Tool Overview IPvSeeYou.py is a tool to assist with geolocating EUI-64 IPv6 hosts. It takes as input an EUI-64-derived MA

null 57 Nov 8, 2022
Presentation and code files for the talk at PyCon Indonesia

pycon-indonesia Presentation and code files for the talk at PyCon Indonesia. Files used for the PyCon Indonesia presentation. [Directory Includes:] Be

Neeraj Pandey 2 Dec 4, 2021
Satoshi is a discord bot template in python using discord.py that allow you to track some live crypto prices with your own discord bot.

Satoshi ~ DiscordCryptoBot Satoshi is a simple python discord bot using discord.py that allow you to track your favorites cryptos prices with your own

Théo 2 Sep 15, 2022
An example of a chatbot with a number-based menu that can be used as a starting point for a project.

NumMenu Bot NumMenu Bot is an example chatbot showing a way to design a number-based menu assistant with Rasa. This type of bot is very useful on plat

Derguene 19 Nov 14, 2022
Faux is a chatbot bridge between urbit and discord.

Faux Faux is a chatbot bridge between urbit and discord. Whenever a member posts in your discord group, a bot will echo their message in your urbit gr

null 10 Dec 27, 2022
A bot can play all variants, but standard are abit weak, so if you need strongest you can change fsf instead of stockfish_14_Dev

MAINTAINERS Drdisrespect1 and drrespectable lichess-bot Engine communication code taken from https://github.com/ShailChoksi/lichess-bot by ShailChoksi

RPNS Nimsilu 1 Dec 12, 2021
It is a temporary project to study discord interactions. You can set permissions conveniently when you invite a particular disk code bot.

Permission Bot 디스코드 내에 있는 message-components 를 연구하기 위하여 제작된 봇입니다. Setup /config/config_example.ini 파일을 /config/config.ini으로 변환합니다. config 파일의 기본 양식은 아

gunyu1019 4 Mar 7, 2022
A chatbot that helps you set price alerts for your amazon products.

Amazon Price Alert Bot Description A Telegram chatbot that helps you set price alerts for amazon products. The bot checks the price of your watchliste

Rittik Basu 24 Dec 29, 2022
A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py)

Articuno (discord-interactions) A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py) Get started If you wa

Blue 8 Dec 26, 2022
Python On WhatsApp - Run your python codes on whatsapp along with talking to a chatbot

Python On WhatsApp Run your python codes on whatsapp along with talking to a chatbot This is a small python project to run python on whatsapp. and i c

Prajjwal Pathak 32 Dec 30, 2022
Discord bot built using Python. through this you can get information about the upcoming matches, scoreboard, live score

IPL-bot This is a Discord bot built using Python. through this you can get information about the upcoming matches, scoreboard, live score, and many mo

null 0 Dec 23, 2021
A simple fun discord bot using discord.py that can post memes

A simple fun discord bot using discord.py * * Commands $commands - to see all commands $meme - for a random meme from the internet $cry - to make the

Dice Flip 2 Dec 20, 2021
A Discord Server Cloner Which Can Clone Any Discord Server In Just Few Minutes

A Discord Server Cloner Which Can Clone Any Discord Server In Just Few Minutes.

samet 4 Jul 23, 2022
😈 Discord RAGE is a Python tool that allows you to automatically spam messages in Discord

?? Discord RAGE Python tool that allows you to automatically spam messages in Discord ?? Setup Make sure you have Python installed and PIP is added to

Alphalius 4 Jun 12, 2022
A self-bot for discord, written in Python, which will send you notifications to your desktop if it detects an intruder on your discord server

A self-bot for discord, written in Python, which will send you notifications to your desktop if it detects an intruder on your discord server

LevPrav 1 Jan 11, 2022
It's a Discord bot to control your PC using your Discord Channel or using Reco: Discord PC Remote Controller App.

Reco PC Server Reco PC Server is a cross platform PC Controller Discord Bot which is a modified and improved version of Chimera for Reco-Discord PC Re

Arvinth Krishna 12 Aug 31, 2022
Discord bot script for sending multiple media files to a discord channel according to discord limitations.

Discord Bulk Image Sending Bot Send bulk images to Discord channel. This is a bot script that will allow you to send multiple images to Discord channe

Nikola Arbov 1 Jan 13, 2022
DeKrypt 24 Sep 21, 2022
Python Markov Chain chatbot running on Telegram

Hanasubot Hanasubot (Japanese 話すボット, talking bot) is a Python chatbot running on Telegram. The bot is based on Markov Chains so it can learn your word

null 12 Dec 27, 2022