@@ -65,7 +65,7 @@ def format_cog_help(self, ctx, cog):
6565
6666 em = discord .Embed (
6767 description = '*' + inspect .getdoc (cog ) + '*' ,
68- color = discord .Colour .green ()
68+ color = discord .Colour .blurple ()
6969 )
7070 em .set_author (name = cog .__class__ .__name__ + ' - Help' , icon_url = ctx .bot .user .avatar_url )
7171
@@ -82,7 +82,7 @@ def format_command_help(self, ctx, cmd):
8282 """Formats command help."""
8383 prefix = self .bot .prefix
8484 em = discord .Embed (
85- color = discord .Color .green (),
85+ color = discord .Color .blurple (),
8686 description = cmd .help
8787 )
8888
@@ -218,7 +218,7 @@ async def github(self, ctx):
218218 em = discord .Embed (
219219 title = 'Github' ,
220220 description = 'Current User' ,
221- color = discord .Color .green ()
221+ color = discord .Color .blurple ()
222222 )
223223 user = data ['user' ]
224224 em .set_author (name = user ['username' ], icon_url = user ['avatar_url' ], url = user ['url' ])
@@ -236,7 +236,7 @@ async def update(self, ctx):
236236 em = discord .Embed (
237237 title = 'Already up to date' ,
238238 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 ()
240240 )
241241
242242 if metadata ['latest_version' ] == self .bot .version :
@@ -286,7 +286,7 @@ async def activity(self, ctx, activity_type: str, *, message: str = ''):
286286 await self .bot .config .update ()
287287 em = discord .Embed (
288288 title = 'Activity Removed' ,
289- color = discord .Color .green ()
289+ color = discord .Color .blurple ()
290290 )
291291 return await ctx .send (embed = em )
292292
@@ -308,7 +308,7 @@ async def activity(self, ctx, activity_type: str, *, message: str = ''):
308308 em = discord .Embed (
309309 title = 'Activity Changed' ,
310310 description = f'Current activity is: { activity_type .name } { message } .' ,
311- color = discord .Color .green ()
311+ color = discord .Color .blurple ()
312312 )
313313 return await ctx .send (embed = em )
314314
@@ -330,7 +330,7 @@ async def mention(self, ctx, *, mention=None):
330330 current = self .bot .config .get ('mention' , '@here' )
331331 em = discord .Embed (
332332 title = 'Current text' ,
333- color = discord .Color .green (),
333+ color = discord .Color .blurple (),
334334 description = f'{ current } '
335335 )
336336
@@ -351,7 +351,7 @@ async def prefix(self, ctx, *, prefix=None):
351351 current = self .bot .prefix
352352 em = discord .Embed (
353353 title = 'Current prefix' ,
354- color = discord .Color .green (),
354+ color = discord .Color .blurple (),
355355 description = f'{ current } '
356356 )
357357
@@ -376,7 +376,7 @@ async def config(self, ctx):
376376 async def options (self , ctx ):
377377 """Return a list of valid config keys you can change."""
378378 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 ())
380380 await ctx .send (embed = em )
381381
382382 @config .command (name = 'set' )
@@ -387,13 +387,13 @@ async def _set(self, ctx, key: str.lower, *, value):
387387
388388 em = discord .Embed (
389389 title = 'Success' ,
390- color = discord .Color .green (),
390+ color = discord .Color .blurple (),
391391 description = f'Set `{ key } ` to `{ value } `'
392392 )
393393
394394 if key not in self .bot .config .allowed_to_change_in_command :
395395 em .title = 'Error'
396- em .color = discord .Color .green ()
396+ em .color = discord .Color .blurple ()
397397 em .description = f'{ key } is an invalid key.'
398398 valid_keys = [f'`{ k } `' for k in self .bot .config .allowed_to_change_in_command ]
399399 em .add_field (name = 'Valid keys' , value = ', ' .join (valid_keys ))
@@ -407,13 +407,13 @@ async def _del(self, ctx, key: str.lower):
407407 """Sets a specified key from the config to nothing."""
408408 em = discord .Embed (
409409 title = 'Success' ,
410- color = discord .Color .green (),
410+ color = discord .Color .blurple (),
411411 description = f'Set `{ key } ` to nothing.'
412412 )
413413
414414 if key not in self .bot .config .allowed_to_change_in_command :
415415 em .title = 'Error'
416- em .color = discord .Color .green ()
416+ em .color = discord .Color .blurple ()
417417 em .description = f'{ key } is an invalid key.'
418418 valid_keys = [f'`{ k } `' for k in self .bot .config .allowed_to_change_in_command ]
419419 em .add_field (name = 'Valid keys' , value = ', ' .join (valid_keys ))
@@ -426,12 +426,12 @@ async def _del(self, ctx, key: str.lower):
426426 @config .command (name = 'get' )
427427 async def get (self , ctx , key = None ):
428428 """Shows the config variables that are currently set."""
429- em = discord .Embed (color = discord .Color .green ())
429+ em = discord .Embed (color = discord .Color .blurple ())
430430 em .set_author (name = 'Current config' , icon_url = self .bot .user .avatar_url )
431431
432432 if key and key not in self .bot .config .allowed_to_change_in_command :
433433 em .title = 'Error'
434- em .color = discord .Color .green ()
434+ em .color = discord .Color .blurple ()
435435 em .description = f'`{ key } ` is an invalid key.'
436436 valid_keys = [f'`{ k } `' for k in self .bot .config .allowed_to_change_in_command ]
437437 em .add_field (name = 'Valid keys' , value = ', ' .join (valid_keys ))
@@ -460,7 +460,7 @@ async def aliases(self, ctx):
460460
461461 embeds = []
462462
463- em = discord .Embed (color = discord .Color .green ())
463+ em = discord .Embed (color = discord .Color .blurple ())
464464 em .set_author (name = 'Command aliases' , icon_url = ctx .guild .icon_url )
465465
466466 embeds .append (em )
@@ -474,7 +474,7 @@ async def aliases(self, ctx):
474474
475475 for name , value in self .bot .aliases .items ():
476476 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 )
478478 em .set_author (name = 'Command aliases' , icon_url = ctx .guild .icon_url )
479479 em .set_footer (text = f'Do { self .bot .prefix } help aliases for more commands.' )
480480 embeds .append (em )
@@ -500,7 +500,7 @@ async def _add(self, ctx, name: str.lower, *, value):
500500
501501 em = discord .Embed (
502502 title = 'Added alias' ,
503- color = discord .Color .green (),
503+ color = discord .Color .blurple (),
504504 description = f'`{ name } ` points to: { value } '
505505 )
506506
@@ -515,7 +515,7 @@ async def __del(self, ctx, *, name: str.lower):
515515
516516 em = discord .Embed (
517517 title = 'Removed alias' ,
518- color = discord .Color .green (),
518+ color = discord .Color .blurple (),
519519 description = f'`{ name } ` no longer exists.'
520520 )
521521
0 commit comments