Closed vincentcourtois closed 5 years ago
Some modifications have to be made to the commands and messages :
Arkaan::Campaigns::Messages::Text
Arkaan::Campaigns::Messages::Diceroll
Arkaan::Campaigns::Message
created_at
player
campaign
data
Hash
type
:text
:command
data.content
Some modifications have to be made to the commands and messages :
Arkaan::Campaigns::Messages::Text
andArkaan::Campaigns::Messages::Diceroll
should be deletedArkaan::Campaigns::Message
class with thecreated_at
,player
andcampaign
attributesdata
attribute ofHash
type to theArkaan::Campaigns::Message
, used to store data about the message or commandtype
attribute, enumerated, with the values:text
or:command
possible.data.content