{"id":24433221,"url":"https://github.com/codemyst/peposad","last_synced_at":"2025-04-12T14:42:09.823Z","repository":{"id":42076730,"uuid":"434326427","full_name":"CodeMyst/peposad","owner":"CodeMyst","description":"Discord bot with random stuff.","archived":false,"fork":false,"pushed_at":"2024-04-09T17:42:23.000Z","size":120,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T09:12:31.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeMyst.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}},"created_at":"2021-12-02T18:10:07.000Z","updated_at":"2023-12-30T19:45:39.000Z","dependencies_parsed_at":"2023-12-07T21:25:27.567Z","dependency_job_id":"62a80eb7-e9c1-4316-aee4-039fb8465546","html_url":"https://github.com/CodeMyst/peposad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fpeposad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fpeposad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fpeposad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fpeposad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeMyst","download_url":"https://codeload.github.com/CodeMyst/peposad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248583051,"owners_count":21128504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-01-20T16:33:35.210Z","updated_at":"2025-04-12T14:42:09.797Z","avatar_url":"https://github.com/CodeMyst.png","language":"TypeScript","readme":"# peposad\n\n## setup\n\n* install bun\n* run `bun i`\n\n## create bot application\n\n* go to https://discord.com/developers\n* create new application\n* enable bot\n\n## invite the bot to a server\n\n* go to discord developers dashboard\n* go to oauth2 -\u003e url generator\n* scopes: bot, applications.commands\n* permissions: read messages/view channels, send messages, use slash commands\n* copy the url and open in the browser\n\n## create .env.local\n\n* create .env.local\n\n```env\nTOKEN=discord bot token\nAPP_ID=discord application id\nSERVER_ID=server id (right click server -\u003e copy id)\nSAD_EMOTE=emote, send the emote with a backslash: \\:peposad: and copy that here\nHAPPY_EMOTE=...\nLAUGH_EMOTE=...\nPRAY_EMOTE=...\nTEXT_CHANNEL=channel id (right click channel -\u003e copy id)\nVOICE_CHANNEL=...\n```\n\n## register commands\n\n* this needs to be done only once per server or when the commands change (i think)\n* run `bun run register_commands.ts`\n* commands should now be available in the server (you might need to wait for a bit)\n\n## run the bot\n\n* run `bun run index.ts`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemyst%2Fpeposad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemyst%2Fpeposad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemyst%2Fpeposad/lists"}