https://github.com/kochie/discord-bot-police
https://github.com/kochie/discord-bot-police
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kochie/discord-bot-police
- Owner: kochie
- Created: 2020-04-16T02:51:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-30T10:38:08.000Z (over 1 year ago)
- Last Synced: 2025-03-30T11:27:02.525Z (over 1 year ago)
- Language: Go
- Size: 19.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## DiscordGo Police Bot
A discord bot to do random things on the server.
- Detects anime and gets angry
- Detects furries and bans them.
- Plays AOE2 sounds
**Join [Discord Gophers](https://discord.gg/0f1SbxBZjYoCtNPP)
Discord chat channel for support.**
### Build
This assumes you already have a working Go environment setup and that
DiscordGo is correctly installed on your system.
From within the pingpong example folder, run the below command to compile the
example.
```sh
go build
```
### Usage
This example uses bot tokens for authentication only. While user/password is
supported by DiscordGo, it is not recommended for bots.
```
./pingpong --help
Usage of ./pingpong:
-t string
Bot Token
```
The below example shows how to start the bot
```sh
./pingpong -t YOUR_BOT_TOKEN
Bot is now running. Press CTRL-C to exit.
```