Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if 'http' in self.sku:
- try:
- webhook = DiscordWebhook(url=self.webhook, content='')
- embed = DiscordEmbed(title='Footlocker ' + self.region.upper() + ' ATC URL Mode', color=7700976, url='https://www.footlocker.' + self.region + '/')
- embed.set_thumbnail(url=self.image)
- embed.add_embed_field(name='Task', value=self.id, inline=False)
- embed.add_embed_field(name='Product', value=self.title, inline=False)
- embed.add_embed_field(name='Price', value=self.price, inline=False)
- embed.add_embed_field(name='Size', value=self.size, inline=False)
- embed.add_embed_field(name='Mode', value='ATC', inline=False)
- embed.add_embed_field(name='Profile', value=self.profiles, inline=False)
- if self.proxy:
- embed.add_embed_field(name='Proxy', value=self.prx, inline=False)
- else:
- embed.add_embed_field(name='Proxy', value='None', inline=False)
- embed.set_footer(text='Flow Locker', icon_url='https://cdn.discordapp.com/attachments/654359760430170130/655535475947208704/static_logo.png')
- webhook.add_embed(embed)
- webhook.execute()
- self.status('Successfully sent success webhook!')
- except:
- self.error('Failed sending success webhook')
- else:
- try:
- webhook = DiscordWebhook(url=self.webhook, content='')
- embed = DiscordEmbed(title='Footlocker ' + self.region.upper() + ' ATC Variant Mode', color=7700976, url='https://www.footlocker.' + self.region + '/')
- embed.add_embed_field(name='Task', value=self.id, inline=False)
- embed.add_embed_field(name='Size', value=self.size, inline=False)
- embed.add_embed_field(name='Mode', value='ATC', inline=False)
- embed.add_embed_field(name='Variant', value=self.variant, inline=False)
- embed.add_embed_field(name='Profile', value=self.profiles, inline=False)
- if self.proxy:
- embed.add_embed_field(name='Proxy', value=self.prx, inline=False)
- else:
- embed.add_embed_field(name='Proxy', value='None', inline=False)
- embed.set_footer(text='Flow Locker', icon_url='https://cdn.discordapp.com/attachments/654359760430170130/655535475947208704/static_logo.png')
- webhook.add_embed(embed)
- webhook.execute()
- self.status('Successfully sent success webhook!')
- input()
- except:
- self.error('Failed sending success webhook')
- input()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement