A development bot for discord
- Conversion from text to morse (needs a better database)
- Guild Wars 2 api integration (WIP)
All the commands have the "?" as prefix
- test
- Just returns a Hello World message for tests porpoises
- coin
- A "Flips a Coin" game
- admin
- Says if the message's author is a server admin
- joined
- Say s when the message's author joined the discord/server
- morse
- Convert the message content to morse
- gw2
- token
- add
- Add a Guild Wars 2 access token
- remove
- Remove a Guild Wars 2 access token
- update
- Update a Guild Wars 2 access token
- add
- dailies *Tomorrow
- Shows all the daily achievements
- token
In the data folder, you should to create a file named configs.ini, the file must to have the following pattern:
[TOKEN]
- token = your_token_here
[GW2]
- my_token = your_gw2_api_access_token_here
- Keep all commands documented and logged
- Create a status to bot for when he was processing a command
- Create a simple bot
- Create a morse app
- Create a Guild Wars 2 app
-
Create a token manager
- Create a database for keep information about token (token, permissions, discord_owner)
- Create a token validation
- Create a add_token command
- Create a remove_token command
- Create a update_token command
- Build some tests
-
Create a daily achievements view
-
Get dailies
-
Build a Achievements class
- id
- name: achievement's name
- description: description of achievement, if it isn't blank
- requirement: tip to complete the achievement
- locked_text: another tip, more specific
-
Convert the list of dailies to list of achievements
-
Structs a dictionary like:
Dict{key, list(Achievements)}
-
key: ("PvE", "PvP", "WvW", "Fractals", "Special")
- Special is dailies from festival events
-
list(Achievements): A list of parsed dailies achievements to Achievements objects
-
-
Make a tomorrows daily view
-
Create a layout message with data
- Setup the layout
- Layout will be formed with 5 embed messages, 1 for each element in dict
- Pass to bot says as a embed message
- Bot will say a message for each embed message
- Setup the layout
-
-
Create a build view
- Check if the user have an api-key with permission
- Get the data
- Display the data
-