kami-blue / bot-kt-plugins

Official plugins for bot-kt
ISC License
0 stars 0 forks source link

storing constants in one place #8

Open d1snin opened 3 years ago

d1snin commented 3 years ago

it will be much better if you move all the constants related to the ID channels, IDs of some server members, and so on in one place in the form of constants, this will not only make the code easier to read, it also complies with the standards and will make it easier for other people to launch the bot on their servers example

val RUSSIAN_CHAT_ID = 82628272672816;

idk how to declare variables in kotlin syntax lol

5HT2 commented 3 years ago

There aren't any hardcoded IDs in bot-kt so I'll transfer this to the bot-kt-plugins repo

d1snin commented 3 years ago

There aren't any hardcoded IDs in bot-kt so I'll transfer this to the bot-kt-plugins repo

I mean everything about the kami blue server

5HT2 commented 3 years ago

Yes, bot-kt should not have any hardcoded IDs at all

d1snin commented 3 years ago

hmm, ok but still I insist to do so :)