mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
feat: simplified discord token and wargaming application id fetching
This commit is contained in:
1 parent
dd900fdf95
commit
3a23a3f8c4
17 files changed
+50
-47
No files matched your search
@@ -3,7 +3,7 @@ import errorWithCause from './errorWithCause.js';
|
||||
|
||||
type ArgumentName = 'discord-token' | 'wargaming-application-id';
|
||||
|
||||
export const args: Record<ArgumentName, string> = {
|
||||
const args: Record<ArgumentName, string> = {
|
||||
'discord-token': '',
|
||||
'wargaming-application-id': '',
|
||||
};
|
||||
@@ -23,3 +23,6 @@ Object.keys(args).forEach((arg) => {
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
export const discordToken = args['discord-token'];
|
||||
export const wargamingApplicationId = args['wargaming-application-id'];
|
||||
Reference in new issue
Block a user