Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

storing constants in one place #8

Open
d1snin opened this issue Mar 27, 2021 · 4 comments
Open

storing constants in one place #8

d1snin opened this issue Mar 27, 2021 · 4 comments

Comments

@d1snin
Copy link
Contributor

d1snin commented Mar 27, 2021

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
Copy link
Member

5HT2 commented Mar 27, 2021

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

@5HT2 5HT2 transferred this issue from 5HT2/bot-kt Mar 27, 2021
@d1snin
Copy link
Contributor Author

d1snin commented Mar 27, 2021

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
Copy link
Member

5HT2 commented Mar 27, 2021

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

@d1snin
Copy link
Contributor Author

d1snin commented Mar 27, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants