Commit 4ce157d 1 parent cf14378 commit 4ce157d Copy full SHA for 4ce157d
File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1
1
import type { WardenClient } from '#src/lib/util/common.d.js' ;
2
2
import { logger } from '#src/lib/util/common.js' ;
3
+ import { settings } from '#src/lib/util/settings.js' ;
3
4
import { version } from '#src/lib/util/version.js' ;
4
5
import { ActivityType } from 'discord.js' ;
5
6
@@ -24,6 +25,23 @@ export default {
24
25
label : 'Warden' ,
25
26
} ) ;
26
27
}
28
+ if ( settings . developerMode ) {
29
+ logger . warn ( {
30
+ message :
31
+ 'Developer mode is enabled. This should not be enabled unless you know what you are doing.' ,
32
+ label : 'Warden' ,
33
+ } ) ;
34
+ logger . warn ( {
35
+ message :
36
+ 'If someone is requesting information obtained through developer mode, they are likely trying to steal your credentials.' ,
37
+ label : 'Warden' ,
38
+ } ) ;
39
+ logger . warn ( {
40
+ message :
41
+ 'We are not responsible for damages caused by negligent use of developer mode.' ,
42
+ label : 'Warden' ,
43
+ } ) ;
44
+ }
27
45
client . user . setActivity ( `users | ${ version } ` , {
28
46
type : ActivityType . Watching ,
29
47
} ) ;
You can’t perform that action at this time.
0 commit comments