Skip to content

A RPG style interface extension module. (Heroku deploy, Discord bot, RPG modules)

License

Notifications You must be signed in to change notification settings

AmberCrafter/DiscordBot-heroku-python

Repository files navigation

DiscordBot-heroku-python


Functional: Quest

Known Bug

  1. Heroku not support sqlite3, need to change into posgresql

ChangeLog

[2022-07-27]

  1. update discord.py to version 2.0.0
  2. update main to async/await style
  3. finished quest ui
  4. fix .gitignore (uncommend *.log)
  5. fix heroku database: sqlite3 -> postgresql

[2022-07-22]

  1. update quest funcions
    • insert detail id <--> detail context
    • book the quest
    • complete the quest
    • list the quests
  2. merge the quest module to release version

[2022-07-14]

  1. Enable all bot Intents
  2. Clean exmaple code
  3. append event
    • on_member_join
    • on_member_remove
    • on_message: notify the author!
  4. append command
    • ping: response bot latency
  5. cog style

[2022-07-11]

  1. steup basic structure of the quest system

Features:

  1. add quest
  2. list quests
  3. update stauts

structure: ./data/quest.sql - status - quest - detail

  1. status

This is a status table, record status enum. Including header [ id, status ] and value

  • 1: UNPUBLISH
  • 2: PUBLISH
  • 3: UNDERTAKE
  • 4: FINISHED
  • 5: FAILED
  • 6: TIMEOUT
  1. quest

This is a quest history table, which record all of the quests information. The header including [ id, starttime, endtime, announcer, title, detail_id, reward, status_id, undertaker, ]

  1. detail

This is a table, record the quest detail information or context. Including header [ id, context ]

About

A RPG style interface extension module. (Heroku deploy, Discord bot, RPG modules)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages