Changing to a random colour for the embed

pull/9/head
sgoudham 4 years ago
parent 1ec9bc5705
commit d83af08ccb

@ -104,6 +104,6 @@ class SimpleMenu(menus.Menu):
if self.check(self.ctx, payload): if self.check(self.ctx, payload):
# Edit the embed and tell the member that the session has been closed # Edit the embed and tell the member that the session has been closed
embed = Embed(description="**Pagination Session Has Been Closed**", embed = Embed(description="**Pagination Session Has Been Closed**",
colour=self.bot.admin_colour) colour=self.bot.random_colour())
await self.message.edit(embed=embed) await self.message.edit(embed=embed)
self.stop() self.stop()

Loading…
Cancel
Save