My Hive Posts

    DiscordSpamRemoval v1.1 - Removing Duplicate Links from Discord Channel

    This is an Update for Removing Duplicate Links from Discord Channel.

    New Features

    • Reconnect - If the Bot disconnected because of Discord WebSocket issue, the bot was not reconnecting on its own. So I have added an option of reconnection whenever it disconnected.

    Commits :

    https://github.com/codingdefined/DiscordSpamRemoval/commit/5a8056b710bcb1b3785041196a122e6e2454957c and

    https://github.com/codingdefined/DiscordSpamRemoval/commit/4fdd5e3c346b9db8dd50460b8c9da4ac9fb95774

    • Was using only Steemit and Busy link previously, now made it generic where if you post any link it will not allow if its duplicate and changed the time period from 2 to 12 hours.

    Commit : https://github.com/codingdefined/DiscordSpamRemoval/commit/5a8056b710bcb1b3785041196a122e6e2454957c

    • $last option - I have also added an option so that people can check when they have last posted using $last

    image.png

    Commit: https://github.com/codingdefined/DiscordSpamRemoval/commit/104eb37d76f0a12dcc163224be03cd3e6db57a60

    • Requirements to Add multiple links in different channel - There was a requirement that I can post the same link in two different channels, two different links in same channel, two different links in two different channels and a link can be posted max twice in the server across all the channels.

    image.png

    Commit : https://github.com/codingdefined/DiscordSpamRemoval/commit/b6f0bd0a5016279c22356a5083d2a01b43be59ac

    First Version : https://utopian.io/utopian-io/@codingdefined/removing-duplicate-and-too-frequent-steemit-and-busy-link-from-discord



    Posted on Utopian.io - Rewarding Open Source Contributors