https://github.com/ddc/discordbot
A Bot for Discord
https://github.com/ddc/discordbot
bot discord discord-bot discord-bots discord-py discordbot guildwars2 python python-3 python3
Last synced: 27 days ago
JSON representation
A Bot for Discord
- Host: GitHub
- URL: https://github.com/ddc/discordbot
- Owner: ddc
- License: mit
- Created: 2018-02-26T22:16:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-22T17:05:03.000Z (11 months ago)
- Last Synced: 2025-05-13T01:51:33.911Z (10 months ago)
- Topics: bot, discord, discord-bot, discord-bots, discord-py, discordbot, guildwars2, python, python-3, python3
- Language: Python
- Homepage: https://ddc.github.io/DiscordBot/
- Size: 1.03 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
A Bot for Discord
# [Install Guide - Wiki](https://ddc.github.io/DiscordBot)
+ Using Docker
+ git clone https://github.com/ddc/DiscordBot.git
+ BOT_TOKEN variable needs to be inside the .env file
+ sudo systemctl enable docker
+ docker-compose up --build -d
# Games Included
+ [Guild Wars 2](https://www.guildwars2.com)
# OpenAI Command
| Commands | Description |
|:---------------|:------------------------------------------------|
| ai <_message_> | Asks OpenAI, message will be on discord embeded |
# Admin/Mod Commands
| Commands | Description |
|:---------------------------------------|:------------------------------------|
| admin cc [add,edit,remove] <_command_> | Add, edit or remove custom commands |
| admin botgame <_new game_> | Change game that bot is playing |
# Config Commands
| Commands | Description |
|:-------------------------------------------------|:----------------------------------------------|
| admin config list | List all bot configurations |
| admin config servermessage [on , off] | Show message when a server gets updated |
| admin config membermessage [on , off] | Show message when someone updates the profile |
| admin config joinmessage [on , off] | Show message when a user joins the server |
| admin config leavemessage [on , off] | Show message when a user leaves the server |
| admin config blockinvisible [on , off] | Block messages from invisible members |
| admin config botreactions [on , off] | Bot will react to member words |
| admin config pfilter [on , off] <_channel name_> | Profanity Filter (blocks swear words) |
# Misc Commands
| Commands | Description |
|:-------------------------|:-----------------------------------------|
| about | Displays bot info |
| echo | Shows your msg again |
| ping | Test latency by receiving a ping message |
| roll | Rolls random number |
| pepe | Posts a random Pepe from imgur url |
| tts <_message_> | Send TTS as .mp3 to channel |
| serverinfo | Shows server's informations |
| userinfo <_member#1234_> | Shows discord user informations |
| lmgtfy <_link_> | Creates a lmgtfy link |
| invites | List active invites link for the server |
# Bot Owner Commands
| Commands | Description |
|:------------------------------------------|:--------------------------------|
| owner servers | Display all servers in database |
| owner prefix <_new prefix_> | Change bot prefix for commands |
| owner botdescription <_new description_> | Change bot description |
# GW2 Commands
| Commands | Description |
|:------------------------------------------------|:---------------------------------------------|
| gw2 config list | List all gw2 configurations in the server |
| gw2 config session [on , off] | Bot should record users last sessions |
| gw2 wvw [match, info, kdr] <_world name_> | Info about a wvw match |
| gw2 key [add, update, remove, info] <_api key_> | Add/Update/Remove/Info - GW2 APIkey managing |
| gw2 account | General information about your GW2 account |
| gw2 worlds [na, eu] | List all worlds by timezone |
| gw2 wiki <_name to search_> | Search the Guild wars 2 wiki |
| gw2 info <_info to search_> | Information about a given name/skill/rune |
# Acknowledgements
+ [OpenAI API](https://openai.com/api)
+ [Guild Wars 2 API](https://wiki.guildwars2.com/wiki/API:2)
+ [Discord Bot Api](https://discordapp.com/developers/applications/me)
+ [PostgreSQL](https://www.postgresql.org)
+ [Git](https://git-scm.com/download)
## Development
Must have UV installed. See [UV Installation Guide](https://uv.run/docs/getting-started/installation)
### Building DEV Environment and Running Tests
```shell
uv venv
uv sync --all-extras
poe test
```
# License
Released under the [MIT](LICENSE).
# Buy me a cup of coffee
+ [GitHub Sponsor](https://github.com/sponsors/ddc)
+ [ko-fi](https://ko-fi.com/ddcsta)
+ [Paypal](https://www.paypal.com/ncp/payment/6G9Z78QHUD4RJ)