{"id":23488655,"url":"https://github.com/erwanlt/discord-bot","last_synced_at":"2025-08-10T16:09:36.801Z","repository":{"id":103649207,"uuid":"428974677","full_name":"ErwanLT/Discord-bot","owner":"ErwanLT","description":"skeleton for a discord bot","archived":false,"fork":false,"pushed_at":"2021-11-17T15:24:35.000Z","size":659,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T04:31:27.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/ErwanLT.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}},"created_at":"2021-11-17T09:01:57.000Z","updated_at":"2021-11-17T15:24:38.000Z","dependencies_parsed_at":"2023-05-24T06:15:52.563Z","dependency_job_id":null,"html_url":"https://github.com/ErwanLT/Discord-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ErwanLT/Discord-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FDiscord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FDiscord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FDiscord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FDiscord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErwanLT","download_url":"https://codeload.github.com/ErwanLT/Discord-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FDiscord-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269748230,"owners_count":24469107,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-24T23:13:36.207Z","updated_at":"2025-08-10T16:09:36.755Z","avatar_url":"https://github.com/ErwanLT.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord-bot\n## create the bot\nGo to following url\n- [discord developers portal](https://discord.com/developers/applications)\n\nand the click on the button **new application**\n\n![](img/newApplication.png)\n\nand choose a name for your bot\n\n![](img/name.png)\n\nand click on **Create**\n\nNormally you should see the application settings page, click on Bot\n\n![](img/appSetting.png)\n\nand then **Add bot** -\u003e **Yes, do it!**\n\nNow that your bot is created, you can find the bot token, copy it to the class BotConstant.\n\nWe will use this token to connect our bot to discord.\n\n## Invite the bot to a channel\nReturn to the app settings and copy the application ID\n\n![](img/applicationID.png)\n\ngo [here](https://discordapi.com/permissions.html) to add permission to your bot.\n\n![](img/permissions.png)\n\n- Paste your application ID in the Client ID input.\n- Click on the Administrator check box to activate it\n- Click on the link in the bottom of the page\n\nNow all you have to do, is to choose a server to invite the bot\n\n![](img/chooseServer.png)\n\nDo the captcha and at the end in your server you should have a notification that the bot joined\n\n![](img/botAdded.png)\n\n## Adding new commands\n\nTo add new commands to your bot :\n- Create a new class in the `commands` package\n- Make it implement `CommandExecutor`\n- Override the run methode with your code\n- In `MessageManager`, add your command in the `CommandRegistry`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferwanlt%2Fdiscord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferwanlt%2Fdiscord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferwanlt%2Fdiscord-bot/lists"}