@@ -65,7 +65,7 @@ def format_cog_help(self, ctx, cog):
65
65
66
66
em = discord .Embed (
67
67
description = '*' + inspect .getdoc (cog ) + '*' ,
68
- color = discord .Colour .green ()
68
+ color = discord .Colour .blurple ()
69
69
)
70
70
em .set_author (name = cog .__class__ .__name__ + ' - Help' , icon_url = ctx .bot .user .avatar_url )
71
71
@@ -82,7 +82,7 @@ def format_command_help(self, ctx, cmd):
82
82
"""Formats command help."""
83
83
prefix = self .bot .prefix
84
84
em = discord .Embed (
85
- color = discord .Color .green (),
85
+ color = discord .Color .blurple (),
86
86
description = cmd .help
87
87
)
88
88
@@ -218,7 +218,7 @@ async def github(self, ctx):
218
218
em = discord .Embed (
219
219
title = 'Github' ,
220
220
description = 'Current User' ,
221
- color = discord .Color .green ()
221
+ color = discord .Color .blurple ()
222
222
)
223
223
user = data ['user' ]
224
224
em .set_author (name = user ['username' ], icon_url = user ['avatar_url' ], url = user ['url' ])
@@ -236,7 +236,7 @@ async def update(self, ctx):
236
236
em = discord .Embed (
237
237
title = 'Already up to date' ,
238
238
description = f'The latest version is [`{ self .bot .version } `](https://github.com/kyb3r/modmail/blob/master/bot.py#L25)' ,
239
- color = discord .Color .green ()
239
+ color = discord .Color .blurple ()
240
240
)
241
241
242
242
if metadata ['latest_version' ] == self .bot .version :
@@ -286,7 +286,7 @@ async def activity(self, ctx, activity_type: str, *, message: str = ''):
286
286
await self .bot .config .update ()
287
287
em = discord .Embed (
288
288
title = 'Activity Removed' ,
289
- color = discord .Color .green ()
289
+ color = discord .Color .blurple ()
290
290
)
291
291
return await ctx .send (embed = em )
292
292
@@ -308,7 +308,7 @@ async def activity(self, ctx, activity_type: str, *, message: str = ''):
308
308
em = discord .Embed (
309
309
title = 'Activity Changed' ,
310
310
description = f'Current activity is: { activity_type .name } { message } .' ,
311
- color = discord .Color .green ()
311
+ color = discord .Color .blurple ()
312
312
)
313
313
return await ctx .send (embed = em )
314
314
@@ -330,7 +330,7 @@ async def mention(self, ctx, *, mention=None):
330
330
current = self .bot .config .get ('mention' , '@here' )
331
331
em = discord .Embed (
332
332
title = 'Current text' ,
333
- color = discord .Color .green (),
333
+ color = discord .Color .blurple (),
334
334
description = f'{ current } '
335
335
)
336
336
@@ -351,7 +351,7 @@ async def prefix(self, ctx, *, prefix=None):
351
351
current = self .bot .prefix
352
352
em = discord .Embed (
353
353
title = 'Current prefix' ,
354
- color = discord .Color .green (),
354
+ color = discord .Color .blurple (),
355
355
description = f'{ current } '
356
356
)
357
357
@@ -376,7 +376,7 @@ async def config(self, ctx):
376
376
async def options (self , ctx ):
377
377
"""Return a list of valid config keys you can change."""
378
378
valid = ', ' .join (f'`{ k } `' for k in self .bot .config .allowed_to_change_in_command )
379
- em = discord .Embed (title = 'Valid Keys' , description = valid , color = discord .Color .green ())
379
+ em = discord .Embed (title = 'Valid Keys' , description = valid , color = discord .Color .blurple ())
380
380
await ctx .send (embed = em )
381
381
382
382
@config .command (name = 'set' )
@@ -387,13 +387,13 @@ async def _set(self, ctx, key: str.lower, *, value):
387
387
388
388
em = discord .Embed (
389
389
title = 'Success' ,
390
- color = discord .Color .green (),
390
+ color = discord .Color .blurple (),
391
391
description = f'Set `{ key } ` to `{ value } `'
392
392
)
393
393
394
394
if key not in self .bot .config .allowed_to_change_in_command :
395
395
em .title = 'Error'
396
- em .color = discord .Color .green ()
396
+ em .color = discord .Color .blurple ()
397
397
em .description = f'{ key } is an invalid key.'
398
398
valid_keys = [f'`{ k } `' for k in self .bot .config .allowed_to_change_in_command ]
399
399
em .add_field (name = 'Valid keys' , value = ', ' .join (valid_keys ))
@@ -407,13 +407,13 @@ async def _del(self, ctx, key: str.lower):
407
407
"""Sets a specified key from the config to nothing."""
408
408
em = discord .Embed (
409
409
title = 'Success' ,
410
- color = discord .Color .green (),
410
+ color = discord .Color .blurple (),
411
411
description = f'Set `{ key } ` to nothing.'
412
412
)
413
413
414
414
if key not in self .bot .config .allowed_to_change_in_command :
415
415
em .title = 'Error'
416
- em .color = discord .Color .green ()
416
+ em .color = discord .Color .blurple ()
417
417
em .description = f'{ key } is an invalid key.'
418
418
valid_keys = [f'`{ k } `' for k in self .bot .config .allowed_to_change_in_command ]
419
419
em .add_field (name = 'Valid keys' , value = ', ' .join (valid_keys ))
@@ -426,12 +426,12 @@ async def _del(self, ctx, key: str.lower):
426
426
@config .command (name = 'get' )
427
427
async def get (self , ctx , key = None ):
428
428
"""Shows the config variables that are currently set."""
429
- em = discord .Embed (color = discord .Color .green ())
429
+ em = discord .Embed (color = discord .Color .blurple ())
430
430
em .set_author (name = 'Current config' , icon_url = self .bot .user .avatar_url )
431
431
432
432
if key and key not in self .bot .config .allowed_to_change_in_command :
433
433
em .title = 'Error'
434
- em .color = discord .Color .green ()
434
+ em .color = discord .Color .blurple ()
435
435
em .description = f'`{ key } ` is an invalid key.'
436
436
valid_keys = [f'`{ k } `' for k in self .bot .config .allowed_to_change_in_command ]
437
437
em .add_field (name = 'Valid keys' , value = ', ' .join (valid_keys ))
@@ -460,7 +460,7 @@ async def aliases(self, ctx):
460
460
461
461
embeds = []
462
462
463
- em = discord .Embed (color = discord .Color .green ())
463
+ em = discord .Embed (color = discord .Color .blurple ())
464
464
em .set_author (name = 'Command aliases' , icon_url = ctx .guild .icon_url )
465
465
466
466
embeds .append (em )
@@ -474,7 +474,7 @@ async def aliases(self, ctx):
474
474
475
475
for name , value in self .bot .aliases .items ():
476
476
if len (em .fields ) == 5 :
477
- em = discord .Embed (color = discord .Color .green (), description = em .description )
477
+ em = discord .Embed (color = discord .Color .blurple (), description = em .description )
478
478
em .set_author (name = 'Command aliases' , icon_url = ctx .guild .icon_url )
479
479
em .set_footer (text = f'Do { self .bot .prefix } help aliases for more commands.' )
480
480
embeds .append (em )
@@ -500,7 +500,7 @@ async def _add(self, ctx, name: str.lower, *, value):
500
500
501
501
em = discord .Embed (
502
502
title = 'Added alias' ,
503
- color = discord .Color .green (),
503
+ color = discord .Color .blurple (),
504
504
description = f'`{ name } ` points to: { value } '
505
505
)
506
506
@@ -515,7 +515,7 @@ async def __del(self, ctx, *, name: str.lower):
515
515
516
516
em = discord .Embed (
517
517
title = 'Removed alias' ,
518
- color = discord .Color .green (),
518
+ color = discord .Color .blurple (),
519
519
description = f'`{ name } ` no longer exists.'
520
520
)
521
521
0 commit comments