https://github.com/evilfreelancer/discord-bot
Small bot prototype for a DiscordApp
https://github.com/evilfreelancer/discord-bot
discord-bot
Last synced: 7 months ago
JSON representation
Small bot prototype for a DiscordApp
- Host: GitHub
- URL: https://github.com/evilfreelancer/discord-bot
- Owner: EvilFreelancer
- License: mit
- Created: 2017-02-21T12:00:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-21T16:15:49.000Z (almost 9 years ago)
- Last Synced: 2025-04-04T03:41:23.198Z (9 months ago)
- Topics: discord-bot
- Language: PHP
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord Bot
Small bot prototype for a Discord
## Installation
Clone the repository:
git clone https://github.com/EvilFreelancer/discord-bot.git
Change direcotory to bot root:
cd discord-bot
Execute the composer:
composer update
## Token
You need obtain the token from the discord developers portal, for this you need:
* Open this page https://discordapp.com/developers/applications/me
* Click on **New App** button
* Write the bot name
* Save
* Now we need click to **Create new bot user**
* In line **Token: click to reveal** you need **click to reveal** this is your bot token
* Copy `token.example.php` to `token.php`
* To this token need replace the **TOKEN** inside `token.php` file
* Also you need the **Client ID** for next step
Ok, bot is ready, now we need add into our Discord group:
https://discordapp.com/oauth2/authorize?&client_id=CLIENT_ID&scope=bot&permissions=0
After this you should saw your bot in your group.