#Message Create

1 messages · Page 1 of 1 (latest)

sharp sequoia
#
MessageCreate()
'MessageCreate' object has no attribute 'channel'

Code

@interactions.listen("on_message_create")
async def x_check(message: interactions.Message):

    if message.channel.id == ch_id:

        await message.delete()

    else:

        pass
rancid duneBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

unique apex