Skip to content

Instantly share code, notes, and snippets.

View entchen66's full-sized avatar
🏠
Working from home

entchen66

🏠
Working from home
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.dropbtn {
background-color: #04AA6D;
color: white;
padding: 16px;
font-size: 16px;
@entchen66
entchen66 / afk_giftcode.py
Last active June 13, 2021 19:29
AFK gift code redemption
import sys
import requests
game = 'afk'
#Hardcode your Username here or use as an inputline.
#user_id = 12345678
user_id = input("Whats your user ID?\n")
@entchen66
entchen66 / feature.json
Created March 12, 2019 21:15
Folgende Skins haben eine Feature Sicht ;)
Arachne - https://image.fnbr.co/outfit/5bc5aa8fbab01a3297496785/featured.png
Ark - https://image.fnbr.co/outfit/5c37dc85b34d5c093ce5790d/featured.png
Battle Hound - https://image.fnbr.co/outfit/5ab155f4e9847b3170da0321/featured.png
Chomp Sr. - https://image.fnbr.co/outfit/5b47b403582d6fe850a1d17d/featured.png
Crackshot - https://image.fnbr.co/outfit/5ab156b3e9847b3170da0324/featured.png
Criterion - https://image.fnbr.co/outfit/5b335625bbe87a7e3f6aac35/featured.png
Cuddle Team Leader - https://image.fnbr.co/outfit/5ab15721e9847b3170da0326/featured.png
Dark Vanguard - https://image.fnbr.co/outfit/5abcf2af9542fb9743da12a8/featured.png
Deadfire - https://image.fnbr.co/outfit/5bd02e1d5a7c95db5b967f77/featured.png
DJ Bop - https://image.fnbr.co/outfit/5c2aad8560e93a37d9635605/featured.png
async def on_member_update(self, before, after):
if after.guild.id == 398567824471097345 and isinstance(after, discord.Member):
if before.display_name != after.nick:
allowedChars = 'abcdefghijklmnopqrstuvwxyzäöü1234567890ßêéèâáàûúùîíìôóò^°´`\'#+*~-_.:,;<>@€|"§$%&/()=?\\}][{³²'
if len(after.display_name.lower()) < 3 or not (set(after.display_name.lower()[:3]) <= set(allowedChars)):
nickname = random.choice(tranlationList)
await after.edit(reason='Nicht regelkonformer Nickname.', nick=nickname)
try:
embed = discord.Embed(title=f'Hallo {after}', description=f'Dein Nickname (__*{after.display_name}*__) entspricht nicht unseren Regeln. Wir haben diesen für dich automatisch geändert. Du kannst ihn jedoch jederzeit anpassen.', color=0x00ffff)
embed.set_author(name='Dies sind unsere Namensregeln:')
allowedChars = 'abcdefghijklmnopqrstuvwxyzäöü1234567890ßêéèâáàûúùîíìôóò^°´`\'#+*~-_.:,;<>@€|"§$%&/()=?\\}][{³²'
@entchen66
entchen66 / test.py
Created February 28, 2019 22:28
get broken images
import aiohttp
import asyncio
import json
import string
import sys
from PIL import Image
import os
import datetime as datetime
import random
import locale