{"id":20416492,"url":"https://github.com/redxtech/pingbot-old","last_synced_at":"2026-04-07T20:31:20.620Z","repository":{"id":43000722,"uuid":"128165583","full_name":"redxtech/pingbot-old","owner":"redxtech","description":"A bot for the sole purpose of doing nothing useful.","archived":false,"fork":false,"pushed_at":"2022-07-05T22:17:46.000Z","size":277,"stargazers_count":2,"open_issues_count":14,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T22:10:49.612Z","etag":null,"topics":["bot","discord","discord-js","nodejs","shitcode","shitposting"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redxtech.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-05T06:03:32.000Z","updated_at":"2022-02-04T01:30:50.000Z","dependencies_parsed_at":"2022-09-09T13:40:13.496Z","dependency_job_id":null,"html_url":"https://github.com/redxtech/pingbot-old","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redxtech/pingbot-old","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redxtech%2Fpingbot-old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redxtech%2Fpingbot-old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redxtech%2Fpingbot-old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redxtech%2Fpingbot-old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redxtech","download_url":"https://codeload.github.com/redxtech/pingbot-old/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redxtech%2Fpingbot-old/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","discord","discord-js","nodejs","shitcode","shitposting"],"created_at":"2024-11-15T06:20:12.645Z","updated_at":"2026-04-07T20:31:20.556Z","avatar_url":"https://github.com/redxtech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pingbot\n\u003e A shitpost in bot form.\n\n## Features\n\n### Chance-Based\nFor each message that is sent, there is chance that pingbot will:\n - ping @everyone (how it got it's name)\n - react with a random emoji (often eerily in-tune to the mood of the message)\n - set your nickname to a string of random characters (most fun when on a server where users can't change their own\n nicknames)\n\n### Pingbot Love\nIf you send a message that shows appreciation for pingbot (if it matches this regex:\n`/\\bi\\b.+\\b(love|like|appreciate)\\b.+\\bpingbot\\b/`), pingbot will respond with a heart to show it's appreciation of you.\n\nAdditionally, if you send a message that shows dislike for pingbot (if it matches this regex:\n`/(\\bi\\b.+\\b(hate|dislike)\\b.+\\bpingbot\\b)|(\\bpingbot\\b.+\\b(sucks|is (bad|garbage|trash|ass|shit))\\b)|(fuck.+pingbot)/`),\npingbot will respond with a sad face that will randomly switch between forwards and backwards.\n\n### O O F\nIf you send a message that contains the word 'o o f', pingbot with do one of two things:\n - If you are in a voice channel, pingbot will join your voice channel, play the roblox *oof* sound, and leave.\n - If you are not in a voice channel (or if pingbot is already playing the oof sound in the server), pingbot will simply\n reply 'o o f' instead.\n\n## Options\nAll options and configuration is done through environment variables. You can put your options in a `.env` file as well.\n\nYou need to specify a bot token with the `BOT_TOKEN` environment variable. The bot will not run without this.\n\nYou can configure how often pingbot will perform it's actions (a one in `x` chance of performing the action) with these\nenvironment variables:\n - `EVERYONE_CHANCE` will affect how often pingbot pings everyone (default: `10000`).\n - `REACT_CHANCE` will affect how often pingbot reacts to messages (default: `100`).\n - `NICKNAME_CHANCE` will affect how often pingbot changes someone's nickname (default: `1000`).\n\n## Setup\nSetup is simple:\n 1. Clone the bot.\n 2. Install the dependencies with `yarn` (or `npm install`). If either of these commands don't work, you need to install\n [node][2].\n 3. Create a bot user \u0026 invite it to your server (follow [this guide][1], but use the code in this repo as the bot's\n code).\n 4. Create a `.env` file and set `BOT_TOKEN` equal to the token obtained in the previous step.\n 5. Add your desired options to the `.env` file.\n 6. Run the bot with `yarn start` (or `npm run start`). Alternatively you can run it with `node ./src/index.js`.\n 7. Enjoy!\n\n[1]: https://www.howtogeek.com/364225/how-to-make-your-own-discord-bot/\n[2]: https://nodejs.org\n\nNote: If you want the 'o o f' function to work in the voice channels, you need to install ffmpeg.\n\n### Personal Recommendation\nWhen creating the bot user, you are most likely going to want to choose an image for pingbot to use as a profile\npicture. My personal favourite is shown below with two variations: normal and pinged. I recommend these because they\nperfectly capture the essence of the bot, and they were the server icon of the server this bot was written for.\n\n![pingbot][normal]\n![pingbot pinged][pinged]\n\n[normal]: resources/pingbot.png\n[pinged]: resources/pingbot_pinged.png\n\n## Author\n**pingbot** © [Gabe Dunn](https://github.com/redxtech), Released under the [MIT](./license.md) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredxtech%2Fpingbot-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredxtech%2Fpingbot-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredxtech%2Fpingbot-old/lists"}