diff --git a/cogs/bump.py b/cogs/bump.py index 57f0972..9929176 100644 --- a/cogs/bump.py +++ b/cogs/bump.py @@ -23,6 +23,7 @@ class Bumps(commands.Cog): @commands.command() async def bump(self, ctx): server = Servers(ctx.guild.id) + server.update(icon_url=ctx.guild.icon_url_as(static_format="png")) guild = ctx.guild prefix = Servers(guild.id).getPrefix() if Servers(guild.id).hasPrefix else self.config["prefix"] diff --git a/cogs/setup.py b/cogs/setup.py index 248ad46..bf7278c 100644 --- a/cogs/setup.py +++ b/cogs/setup.py @@ -99,7 +99,7 @@ class BumpSetup(commands.Cog): webhook = await listing.create_webhook(name=self.config['bot_name']) - Servers(ctx.guild.id).add(webhook=webhook.id, invite=invite.id, color=color, description=description) + Servers(ctx.guild.id).add(webhook=webhook.id, invite=invite.id, color=color, description=description, icon_url=ctx.guild.icon_url_as(static_format="png")) await ctx.send("Setup complete! Server added to DB and the webhook was created.")