dhmoon91 / porobot

0 stars 0 forks source link

Add, list summoners #4

Closed dhmoon91 closed 3 years ago

dhmoon91 commented 3 years ago

https://github.com/dhmoon91/discordbot/issues/3 Add summoners;

Can we start off by storing the input locally?

Flow/command should be: @관전남 add d4022 -> Check if d4022 data can be retrieved -> If not error out, send proper error msg -> If yes, store it locally

@관전남 list -> Should list all added summoners.

dhmoon91 commented 3 years ago

/data.json -> store data. store channel/serverid.

-> @관전남 add d4022 -> This should add one or more summoners; eg @관전남 add d4022 leonaldu soultree. -> Create or update data.json file - store server or channelID in a row. -> Another command @관전남 add soultree -> add summoner id into data.json per serverID. -> When adding check if summoner name exists in league API -> If not output proper message. -> Delete data for server or channel after 15mins.