This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
allowedChars = 'abcdefghijklmnopqrstuvwxyzäöü1234567890ßêéèâáàûúùîíìôóò^°´`\'#+*~-_.:,;<>@€|"§$%&/()=?\\}][{³²' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import aiohttp | |
import asyncio | |
import json | |
import string | |
import sys | |
from PIL import Image | |
import os | |
import datetime as datetime | |
import random | |
import locale |