Update
This commit is contained in:
parent
9fdc1ccbdb
commit
055d2a6c8f
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,7 @@ class starboard(commands.Cog):
|
||||||
print("Recieved star payload", file=sys.stderr)
|
print("Recieved star payload", file=sys.stderr)
|
||||||
chann = self.bot.get_channel(payload.channel_id)
|
chann = self.bot.get_channel(payload.channel_id)
|
||||||
message = chann.fetch_message(payload.message_id)
|
message = chann.fetch_message(payload.message_id)
|
||||||
await message.forward(chann)
|
await chann.send(message.content)
|
||||||
await chann.send("forwarded message")
|
|
||||||
|
|
||||||
def setup(bot: commands.Bot):
|
def setup(bot: commands.Bot):
|
||||||
bot.add_cog(starboard(bot))
|
bot.add_cog(starboard(bot))
|
Loading…
Reference in a new issue