Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Giveaway.py #165

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cogs/Giveaway.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ async def roll(self, ctx, number):
return
message = await ctx.channel.fetch_message(ctx.message.reference.message_id)
if not message.author == self.CLIENT.user:
await ctx.reply("Heyyyyy, wait a minute, that's not my giveaway mesage")
await ctx.reply("Heyyyyy, wait a minute, that's not my giveaway message")
return
if not message.clean_content.startswith("Giveaway"):
await ctx.reply(
"Ok that's my messsage, but is that a giveaway message?????"
)
return
if message.embeds[0].title == "Time up":
await ctx.reply("That's an old giveaway message")
await ctx.reply("That's an old giveaway message!")
return
reaction = message.reactions[0]
users = await reaction.users().flatten()
Expand All @@ -112,7 +112,7 @@ async def roll(self, ctx, number):
await message.edit(
embed=ef.cembed(
title="Time up",
description="The giveaway has ended, hope you get it the next time",
description="The giveaway has ended, hope you get it the next time!",
color=self.CLIENT.color(ctx.guild),
thumbnail=self.CLIENT.user.avatar.url,
)
Expand Down
Loading