A Discord bot that snitches on the lore & events, i.e. lies, about any two random users within a server.

Overview

Trash Panda Bot

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Trash Panda Bot

A little trash panda to randomly post in your Discord server.
Explore the docs »
· Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

This project houses a bot for Discord that is used to post funny and relatively out of pocket short stories about members within your server. The bot first decides whether this is a solo story or if it contains multiple people. From there a short bit of lore is generated regarding users who are selected at random.

The purpose of this project was to introduce an element of humour, however, if some users do not want to be randomly tagged and slandered, then the bot also provides a very simple blacklist mechanism.

(back to top)

Built With

(back to top)

Getting Started

Prerequisites

Discord bot, trash-panda-bot is built using NodeJS and the Discord API, as such it is assumed that you already have Node installed in your local environment. To install the required packages, using the following command.

  • npm

    npm install

Environment Variables

For the environment variables used within the repository, you can either request from any of the contributors (if contributing to this specific bot) the environment variables. Alternatively, if implementing this bot for your own channels or servers, you will find the following links useful in generating your own variables.

Installation

  1. Follow the instructions from Discord to generate a free token.

  2. Clone the repo

    git clone https://github.com/jamestkelly/trash-panda-bot.git
  3. Install NPM packages

    npm install
  4. Create a file called config.json and add your token to it.

    {
      "BOT_TOKEN": "EXAMPLE0123adhgajksdcTOKEN"
    }
  5. Run the bot locally to test if it works prior to deployment.

    node index.js # Run the bot on your local host

(back to top)

Usage

This project can be used within your own Discord servers by connecting them and adding the bot to any given channel. To edit questions, simply edit the questions.txt file to change which questions the bot will select from at random to ask people within your server.

For more examples, please refer to the Documentation

(back to top)

Roadmap

  • Develop trash-panda-bot in its most basic form, i.e. ability to read and write to a channel.
  • Write up several funny and unrealistic things for the bot to post.
    • Create enough flavour texts so that the bot is unlikely to repeat itself.
  • Finalise Version 1.0 of the bot.
    • Deploy the bot to a cloud provider (GCP).
    • Implement GitHub Actions pipeline for automatic updates upon approval of merge requests (MRs).
    • Release the bot.

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Jim Kelly - [email protected]

Project Link: https://github.com/jamestkelly/trash-panda-bot

(back to top)

Acknowledgments

Notable Contributors

Service Providers

(back to top)

You might also like...

Discord Bot of the NCS's Discord server.

Installation Install dependencies npm install Start the server npm start Usage/Examples Create .env file touch .env Add this to the file TOKEN=y

Sep 3, 2022

Mabicord AIO is a Discord bot that handles MMORPG Mabinogi's bugle messages, designed to serve a single Discord server.

Welcome to NamVr Discord Bot Template 👋 An open source discord.js bot template which is based on official discord.js guide to get started on making y

Jul 13, 2022

The Discord Bot for the AvdanOS Community Discord server.

Tinan The Discord Bot for the AvdanOS Community Discord server, made using discord.js v13.8. How to contribute Forking Step 1: Make a contribution for

Dec 1, 2022

Aeona is a multi-purpose discord bot ready to skill up and boost up your Discord server! It has an State of the Art AI chatbot to make sure you never feel bored!

Aeona | Chatbot Aeona is an ever-growing multipurpose bot; primarily a fun chatbot you can converse with, but also showcases a wide range of fun comma

Jan 9, 2023

This Is A Simple WhatsApp Bot Mode From *DhaniGans* Repo Hope you guys Will like it Repo Updates in Every Two Days

This Is A Simple WhatsApp Bot Mode From *DhaniGans* Repo Hope you guys Will like it Repo Updates in Every Two Days

ALIEN ALFA BOT Contact Me: Scan QR Code For Session FORK THIS BEFORE PROCEEDING Use This Button To Fork Now THINGS TO CHANGE IN HEROKU 𝘾𝙃𝘼𝙉𝙂𝙀 𒆜

Dec 21, 2022

A typescript telegram bot with just two works in mind.

Minitsbot aka @Akagiprobot Made in ❤️ with Grammy and deno. A typescript telegram bot with just two works in mind: Autoapproves new join requests. (Ch

Jun 7, 2022

🟢 OneForAll Support Bot - Is a support bot for the discord server of OFA!

🟢 OneForAll Support Bot - Is a support bot for the discord server of OFA! Setup You can setup OneForAll Support Bot by simply opening your terminal/c

Oct 15, 2022

A simple & easy2use API for obtaining information about a discord user, discord bot or discord guild and their use for some purpose on websites!

discord-web-api A simple & easy2use API for obtaining information about a discord user, discord bot or discord guild and their use for some purpose on

Jun 28, 2022

Discord Neura - a Discord bot framework built on discord.js

Discord Neura Description Discord Neura is a Discord bot framework built on discord.js. Features Command Handler, Arguments, Preconditions and Listene

Mar 23, 2022
Comments
  • Implement basic bot functionality

    Implement basic bot functionality

    • Display all members in guild
    • Logging events in console
    • Send a welcome message to any new users and assign them the required role.
    • $joke command to send a random joke from a list of jokes
    • $random command to reply with a random number between 1 and 100
    • Send a random .gif from a list of .gifs every 45 mins into the specified shit posting channel
    • Send a random fun fact from a list of fun facts every hour into the specified shit posting channel. Also tagging a random user that has the required role (role should be set so only people that have access to the shit posting channel have it)
    • React and reply on mention of 'morb' in any message. Sending a message saying "It's Morbin' Time" and reacting with 🧛🇲 🇴 🇷 🇧 🇮 🇺 🇸 🦇 to the message with the mention of 'morb'
    opened by RohanKenSingh 1
  • Feat/merge resources

    Feat/merge resources

    • Updated README.md to reflect updates to code.
    • Prettified index.js & README.md
    • Removed .DS_Store (a configuration file for MacOS)
    • Merged all flavour text, lore files, etc. into lore.json

    Additionally, I've updated index.js to pull the original arrays from lore.json instead of declaring them as constants within the script.

    documentation enhancement 
    opened by jamestkelly 0
Owner
Jim Kelly
I'm a Graduate Consultant at Deloitte Australia in Platform Engineering. Graduated from my Bachelor's at QUT with distinction in Computer Science.
Jim Kelly
Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Umut Bayraktar 114 Jan 3, 2023
This bot can raise your mood. This bot send joke often our channel for users. Sometimes bot don't work because we have not server for this project...)

Hi, welcome to send-joke-bot telegram bot project ?? What can do this bot ? This bot can raise your mood. This bot send joke often our channel for use

Muhammadamin 5 Sep 26, 2022
Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot that handles all your server needs.

Welcome to Co-Pilot Bot repo! ?? ?? Co-Pilot (All-in-one Discord Bot) Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot

YMafalha 19 Nov 11, 2022
Self-Hosted Discord Bot to onboard users, protect users, and gamify entertainment & engagement.

Self-Hosted Open-Source Discord Bot to onboard & protect community members. It gamifies user entertainment & engagement. Usage Clone using: git clone

Accretence 4 Sep 8, 2022
A fully configurable and customizable discord bot for any type of server written from scratch in the JavaScript

A fully configurable and customizable discord bot for any type of server written from scratch in the JavaScript programming language with just a few dependencies. A solid and reliable alternative to creating a discord bot yourself, without having to spend a lot of time filling in the configuration file. Made with love from our organization in Spain.

dotted software 1 Jun 24, 2022
Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Remoklify - Gitlift Discord Bot Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total

Remoklify 3 Mar 20, 2022
About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

discordJS-V14 About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this

Umut Bayraktar 36 Dec 28, 2022
A Discord bot to fetch random waifu images

Waifu Discord Bot A Discord bot to fetch random waifu images! Commands -waifu - To fetch image Config Vars TOKEN - Your Discord bot token Deploy To Ra

Nisarga Adhikary 9 Dec 19, 2022
A Discord bot designed for taking self-hosted media server requests from users

Jellybot A Discord bot designed for taking self-hosted media server requests from users What's it for? If you're coming across this, you probably have

null 2 Mar 25, 2022
Colour me! is a simple Discord bot running on Cloudflare Workers that allows server admins to give users the ability to change the colour of their own assigned colour roles!

Colour me! Colour me! is a simple Discord bot that allows server admins to give users the ability to change the colour of their own assigned colour ro

Erisa A 15 Dec 24, 2022