zquaa/WebHook-MSG-Sender Star1 Code Issues Pull requests This simple app can send a message to a Discord webhook using the discord API. csharpdiscorddiscordappdiscord-apidiscordbotcsharp-codediscordclientdiscordspamdiscordwebhookdiscordspambotdiscordspamtoolsdiscordchatdiscordspammerdiscordwebhookspammerdiscord...
webhook_url = rule["webhook_url"] sender.send_to_discord( webhook_url, message_obj.content, message_obj.person, message_obj.group ) if message_obj.sender_name in self.discord_specific_message_rules: rule = self.discord_specific_message_rules[message_obj.sender_name] webhook_url = rule["we...
msg = re.sub('@', '\@', msg) await helper.dc_debug_webhook(debug_webhook_link, f'{event.authorId} 撤回了一条消息: {msg}', '[QQ]') except Exception: traceback.print_exc() if j['Type'] == 'QQrecall': if MType == 'QQrecall': channel = client.get_channel(channelid) cc ...
(Poke) for poke in pokes: msglist.append('[戳一戳]') voices = message.get(Voice) for voice in voices: msglist.append('[语音]') flashimages = message.get(FlashImage) for flashimage in flashimages: if debug == True: await helper.dc_debug_webhook(debug_webhook_link, f'{member.id}...
(SECTION, 'token') self.webhook = self.CONFIG.get(SECTION, 'webhook') self.channel = self.CONFIG.getint(SECTION, 'channel') self.welcome_msg = self.CONFIG.get(SECTION, 'welcome_message') self.help_msg = self.CONFIG.get(SECTION, 'help_message') self.intents = discord.Intents.default(...