Skip to content

Instantly share code, notes, and snippets.

@ipetermac
ipetermac / Home Assistant Dashboard
Last active April 11, 2024 11:26
Home Assistant Dashboard
views:
- icon: mdi:home-assistant
layout:
width: 300
max_cols: 3
max_rows: 3
type: custom:masonry-layout
cards:
- type: vertical-stack
cards:
@ipetermac
ipetermac / adlist-socialmedia
Last active September 6, 2021 13:17
adlist-socialmedia
0.0.0.0 facebook.com
0.0.0.0 twitter.com
0.0.0.0 tiktok.com
0.0.0.0 messenger.com
# ===============================================================
# Title: Pi-hole adlist porn site list
# ===============================================================
0.0.0.0 playboy.com
0.0.0.0 porntube.com
0.0.0.0 tube8.com
0.0.0.0 redtube.com
0.0.0.0 porn.com
0.0.0.0 xnxx.com
0.0.0.0 hellblog.net
@ipetermac
ipetermac / Junior Admin
Last active February 15, 2021 04:20
Carl-bot Custom Tag - Junior Admin
{=(comment):
- I'm decided to create custom tag for Jr. Admin with minimum allowed commands and bypass command in single tag.
- The tag allow certain role to run moderator commands without granting them discord manage role perms.
- The role hierarchy always apply, Jr. Admin can't managed those people who has higher role.
- Please read the comment inside the Tagscript, and do update what necessary.
- Usage -jadmin command syntax (replace - with your bot prefix)
- Example : -jadmin mute @member 1d spamming copypasta
- Moderation docs - https://docs.carl.gg/moderation/moderation/
- Screen shot : https://imgur.com/Z4GyRi4, https://imgur.com/H9H18Zh
- Import Link : https://carl.gg/t/599092 OR https://pastebin.com/yYSCRXfR}
@ipetermac
ipetermac / Custom Channel Lock
Last active February 15, 2021 04:21
Carl-bot Custom Tag - Custom Channel Lock
{=(comment):
- The tag allow certain role to lock/unlock channel without granting manage channel perms.
- Please read the comment inside the tagscript, and do update what necessary.
- Screen shot : https://i.imgur.com/VRgwSEg.jpg
- Import Link : https://carl.gg/t/593746
- Reference docs : https://docs.carl.gg/tags-and-triggers/tags-advanced-usage/
- Thank you : Asty'#8926, Chelsie#2507}
{=(AUTHOR):fsociety#1200}
{=(comment):update your bot prefix below}
{=(pre):-}
@ipetermac
ipetermac / Dank Memer Punisher
Last active February 15, 2021 04:21
Carl-bot Custom Tag - Dank Memer Punisher
{=(comment):
- Tag will be muted user who run command pls rob and pls steal
- Create Carl bot prefix pl and import this tag name it as s into your server.
- Create a role for mute user in Dank Memer channel, name it as Dank Memer Muted or whatever you like.
- Update Dank Memer Muted role id and Dank Memer channel id in the tag.
- Set deny sent message permission override for role Dank Memer Muted to all Dank Memer channels.
- Screen shot : https://imgur.com/B3qNpE3
- Import link : https://carl.gg/t/604697
- Thank to LPB#8479 for sharing this tip in #playground}
@ipetermac
ipetermac / Change Bad Name
Last active February 15, 2021 04:20
Carl-bot Custom Tag - Change Bad Name
{=(COMMENT):Author PETER#3607}
{=(COMMENT):update bot prefix}
{=(prefix):-}
{=(COMMENT):error message when invalid input}
{=(error):**Mod ONLY**, usage `{prefix}badname @user`}
{=(COMMENT):update Role ID for Admin and Mods}
{=(RoleID):732222516277280961,729736736149602304}
{=(COMMENT):update channel ID for Mod logs}