added intents

This commit is contained in:
2025-04-09 17:06:38 +10:00
parent 249ec3739b
commit f571f83c24

View File

@@ -32,6 +32,7 @@ copyparty_token = os.getenv('COPYPARTY_TOKEN')
intents = discord.Intents.none()
intents.messages = True
intents.message_content = True
intents.guilds = True
bot = discord.Bot(intents=intents)
def pixelget(url: str):
@@ -151,8 +152,9 @@ async def on_message(message):
update_rss_feed()
return
def main():
async def main():
bot.run(TOKEN)
messagechannel = await bot.fetch_channel(862039084683624468)
if __name__ == '__main__':
main()