stemount / cloutbot

A useful Discord bot that lets you validate people who help, contribute and thank with a star.
5 stars 2 forks source link

created db init script, and started bot creation #10

Open JackBocresion opened 3 years ago

JackBocresion commented 3 years ago

Started general bot creation. need to get mentions from messages and turn them into IDs for DB insertion. this works well, and I can grab them with

$message->mentions

but this is a whole array, and the ids from mentions are in both they keys and values. this is nice, but I dont know how to access them without a key. you can see my commented out attempts on line 38/39, and my explanations on the previous ones

stemount commented 3 years ago

hey @sleepybear1x thank you for your contribution as this is pretty much all this bot initially is supposed to do (it really is purposefully to be as simple as possible, but built with coding standards).

Issue #6 is some sort of structure to having this project in a number of implementations Issue #11 will be something ironed out at some point Issue #12 in PHP, we need to pick an ORM. Issue #13 would be helpful too.

stemount commented 3 years ago

i'm gonna live stream just fixing this up because it'd be awesome to have this PHP implementation also working on the serverless stacc, heh @JackBocresion thx for contributing bud