{"id":16122400,"url":"https://github.com/thatguythimo/theziverbotjs","last_synced_at":"2026-01-31T22:03:49.181Z","repository":{"id":150869974,"uuid":"417538241","full_name":"ThatGuyThimo/TheZiverBotJS","owner":"ThatGuyThimo","description":"ThezZverBotJS is the discord but running in TheZivers discord server","archived":false,"fork":false,"pushed_at":"2024-12-13T00:11:48.000Z","size":7858,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T18:49:26.575Z","etag":null,"topics":["bot","discord","discord-bot","discord-js","discordbot","discordjs","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThatGuyThimo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-15T14:55:55.000Z","updated_at":"2024-08-02T10:22:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d09c841-d6c3-45ca-9815-b8c9e28f8841","html_url":"https://github.com/ThatGuyThimo/TheZiverBotJS","commit_stats":{"total_commits":89,"total_committers":3,"mean_commits":"29.666666666666668","dds":0.1573033707865169,"last_synced_commit":"3c34402cbf66910172f9f4be2765b700c5fa2ebe"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThatGuyThimo/TheZiverBotJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatGuyThimo%2FTheZiverBotJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatGuyThimo%2FTheZiverBotJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatGuyThimo%2FTheZiverBotJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatGuyThimo%2FTheZiverBotJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatGuyThimo","download_url":"https://codeload.github.com/ThatGuyThimo/TheZiverBotJS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatGuyThimo%2FTheZiverBotJS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28956938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-bot","discord-js","discordbot","discordjs","javascript"],"created_at":"2024-10-09T21:11:14.732Z","updated_at":"2026-01-31T22:03:49.157Z","avatar_url":"https://github.com/ThatGuyThimo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TheZiverBotJS\n\n**Version 1.4.0**\n\nTheZiverBotJS AKA Y E S is a Discord bot for Youtuber TheZiver.\n- Discord https://discord.gg/Z34mSSM\n- YouTube https://youtube.com/c/TheZiver\n\nThis bot is a remake of the discord.py version.\n\nOn monday, 28 august 2021 Danny the creator of discord.py announced his resignation as maintainer of discord.py and the library became end of life.\nRead more [here](https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1).\n\n---\n## NOTICE\n\nThis bot is up to the same working order as the bot in the Discord.\nThe bot running in the Discord is the JavaScript version as of Thursday 2 December 2021.\n\n---\n## Documentation\n## How to run the bot\n1. first make sure you have Node installed, if not you can download it from [here](https://nodejs.org/en) and create a bot at the [Discord developer portal](https://discord.com/developers/applications).\n\n2. Install the required packages by running the following command inside of the folder.\n    ```cli\n    npm install\n    ```\n3. Create a file inside the Data folder called cookies.json and leave it empty.\n4. Create and populate the config.json in the Data folder (an example has been provided).\n   ![image](/MD/Images/Example-config.jpg)\n5. Run the bot with.\n   ```cli\n   node main.js\n   ```\n### How to add commands\nTo add commands you will have to create a new JavaScript file in the SlashCommands folder and name it appropiatly.\n![image](/MD/Images/Slashcommands-Structure.jpg)\n\u003e [!CAUTION]\n\u003e Do not use the Commands folder as this has been depricated\n\nAn example of a basic command would be:\n```js\nconst SlashCommand = require(\"../Structures/SlashCommand.js\");\n\nmodule.exports = new SlashCommand({\n    name: \"hello\", // caution name and description cannot contain capitals\n    description: \"says hello\", \n\n    async run(message, args, client) {\n        message.reply('Hello random person from the internet.');\n    }\n\n});\n```\nAn example of an embed would be:\n```js\nconst SlashCommand = require(\"../Structures/SlashCommand.js\");\nconst Discord = require(\"discord.js\");\n\nmodule.exports = new SlashCommand({\n    name: \"example\",\n    description: \"shows an example embed\",\n    async run(message, args, client) {\n        try {\n            const embed = new Discord.EmbedBuilder()\n    \n                .setTitle(`About  ${client.user.username}`)\n                .setAuthor({\n                    name : message.user.tag,\n                    iconURL : message.user.avatarURL()\n                })\n                .setTimestamp(message.createdTimestamp)\n                .setDescription(`Information about  ${client.user.username}`)\n                .setColor(\"#00FF00\")\n                .setThumbnail(client.user.avatarURL({ dynamic: true }))\n                .addFields([\n                    {\n                        name: \"Field 1\",\n                        value: \"value\",\n                        inline: false\n                    },\n                    {\n                        name: \"Field 2\",\n                        value:  \"value\",\n                        inline: false\n                    }\n                ]);\n            message.reply({ embeds: [embed] });\n        } catch(error) {\n            message.reply(\"Something went wrong, please contact an admin for help.\")\n        } \n\n    }\n});\n```\n\n### How to add a group to the bot\n\nTo add a new group, add a new key-value pair to the object in groupConfig.json.\nThe key should be the name of the group, and the value should be the group ID.\nThe group ID can be found in the URL of the group's page on the [VRChat website](https://vrchat.com). \nFor example:\n![image](/MD/Images/GroupConfig.json.png)\nThan add paste the following line twice into Events/ready.js\n```js\nawait groupMemberCount(client, groupConfig.GROUPID, \"GROUPNAME\")\n```\nExample:\n![image](/MD/Images/Ready.js.png)\n\n---\n## API \n### How to run the API\n1. navigate to /API using the terminal.\n2. Install the required packages by running the following command inside of the folder.\n    ```cli\n    npm install\n    ```\n3. Creat and populate the .env file according to the example below.\n\n   ![image](/MD/Images/Example-APIconfig.jpg)\n4. To be able to start the API you will need to provide SSL certificate and private key in API/index.js.\n   ![image](/MD/Images/Cert-example.JPG)\n\n   If you cannot provide the certificate or you dont want to use SSL you can comment the following lines in API/index.js.\n\n   ![image](/MD/Images/Https-Example.JPG)\n\u003e [!CAUTION]\n\u003e You have to comment or delete the https lines above for the API to work without an SSL certificate.\n5. Run the API with.\n   ```cli\n   node index.js\n   ```\n\n\n### How to add a group to the API\nAdd paste the following line into API/index.js.\n   ```js\n   app.use('/NAME_OF_ROUTE', new Route('NAME_OF_KEY').router)\n   ```\n   ![image](/MD/Images/API-Router.jpg)\n\n   The **\"NAME_OF_ROUTE\"** should be the name after the slash for example ```https://mydomain/myname```.\n   The **\"NAME_OF_KEY\"** should be the ***exact*** name you gave to the **\"GROUPNAME\"** field at [How to add a group to the bot](###How-to-add-a-group-to-the-bot).\n\n---\n## Default ussage\n### Chat commands\n\n- /about (Gives info about the Bot)\n- /help (Gives info on all the available chat commands)\n- /voicehelp (Gives info on all the available voice chat commands)\n- /channel (Gives info about the [@TheZiver](https://www.youtube.com/@TheZiver) Youtube channel)\n- /fish (Sends a random fish gif)\n- /hello (Says hello)\n- /spin (Sends a random spinny gif)\n- /ping (Pings TheZiver in a specific channel)\n- /schedule (Gives the zivers upload schedule)\n\n### Voice chat commands\n\n- /voicedc (disconnects the bot from voice channel)\n- /intro (Plays bot introduction)\n- /cheese (plays cheese sound)\n- /burp (Plays burp sound)\n- /sticky (Plays sticky keys sound)\n- /cabbagecat (Plays cabbagecat sound)\n- /beans (Plays beans sound)\n- /dice (Plays random dice number and \"YES\")\n- /bassdrop (Plays bassdrop sound)\n- /dinosaur (Plays dinosaur sound)\n- /huh (Plays hallmusic sound made by @Cunk)\n\n### API endpoints\n- /all (all the data from the other endpoints)\n- /theziver (thezivers vrchat group member count)\n- /onlyrusk (OnlyRusk vrchat group member count)\n- /avifair (Avifair vrchat group member count)\n- /family (FamilyFriendlyCult vrchat group member count)\n- /portal (PortalMedia vrchat group member count)\n- /cheese (Cheese vrchat group member count)\n\n---\n## Contributors\n\n- ThatGuyThimo\n\n---\n## Terms and conditions\nApache License\nVersion 2.0, January 2004\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatguythimo%2Ftheziverbotjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatguythimo%2Ftheziverbotjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatguythimo%2Ftheziverbotjs/lists"}