pfero
6 years ago
9 changed files with 16889 additions and 5 deletions
File diff suppressed because it is too large
@ -0,0 +1,23 @@ |
|||||
|
import discord |
||||
|
|
||||
|
from os import listdir |
||||
|
|
||||
|
class Client(discord.Client): |
||||
|
async def on_ready(self): |
||||
|
print("Logged on as", self.user) |
||||
|
|
||||
|
channel = self.get_channel(373273190547324928) |
||||
|
pins = await channel.pins() |
||||
|
|
||||
|
for msg in pins: |
||||
|
msg = await channel.fetch_message(msg.id) |
||||
|
for react in msg.reactions: |
||||
|
if react.emoji == "📌": |
||||
|
print("[PINNED]", ("%s#%s" % (msg.author.name, msg.author.discriminator)) + ":", msg.id) |
||||
|
async for user in react.users(): |
||||
|
print("[PIN]", ("%s#%s" % (user.name, user.discriminator)) + ":", msg.id) |
||||
|
|
||||
|
await self.logout() |
||||
|
|
||||
|
client = Client() |
||||
|
client.run(open("token").read().strip()) |
@ -0,0 +1,17 @@ |
|||||
|
import discord |
||||
|
|
||||
|
from os import listdir |
||||
|
|
||||
|
class Client(discord.Client): |
||||
|
async def on_ready(self): |
||||
|
print("Logged on as", self.user) |
||||
|
|
||||
|
channel = self.get_channel(373273190547324928) |
||||
|
message = await channel.fetch_message(562295275184455720) |
||||
|
# await message.pin() |
||||
|
await message.add_reaction("📌") |
||||
|
|
||||
|
await self.logout() |
||||
|
|
||||
|
client = Client() |
||||
|
client.run(open("token").read().strip()) |
@ -0,0 +1,189 @@ |
|||||
|
Logged on as *Ben Shapiro#5265 |
||||
|
[PINNED] Alonso#1219: 562271177473523714 |
||||
|
[PIN] Alonso#1219: 562271177473523714 |
||||
|
[PIN] coraldev#2976: 562271177473523714 |
||||
|
[PIN] Nuuk#3967: 562271177473523714 |
||||
|
[PIN] Kahn#5271: 562271177473523714 |
||||
|
[PINNED] fonnymunkey#4059: 562232731501854740 |
||||
|
[PIN] Claire ♡#0346: 562232731501854740 |
||||
|
[PIN] fonnymunkey#4059: 562232731501854740 |
||||
|
[PIN] Kahn#5271: 562232731501854740 |
||||
|
[PIN] Schultz™#8592: 562232731501854740 |
||||
|
[PINNED] fonnymunkey#4059: 562231075724591144 |
||||
|
[PIN] Alonso#1219: 562231075724591144 |
||||
|
[PIN] fonnymunkey#4059: 562231075724591144 |
||||
|
[PIN] Kahn#5271: 562231075724591144 |
||||
|
[PIN] Schultz™#8592: 562231075724591144 |
||||
|
[PINNED] Mawile#9390: 562229348418191360 |
||||
|
[PIN] Alonso#1219: 562229348418191360 |
||||
|
[PIN] Mawile#9390: 562229348418191360 |
||||
|
[PIN] StarMagician#5358: 562229348418191360 |
||||
|
[PIN] Schultz™#8592: 562229348418191360 |
||||
|
[PINNED] Alonso#1219: 562226775669735455 |
||||
|
[PIN] Alonso#1219: 562226775669735455 |
||||
|
[PIN] Mawile#9390: 562226775669735455 |
||||
|
[PIN] Kahn#5271: 562226775669735455 |
||||
|
[PIN] Schultz™#8592: 562226775669735455 |
||||
|
[PINNED] Kahn#5271: 562218967318528030 |
||||
|
[PIN] fonnymunkey#4059: 562218967318528030 |
||||
|
[PIN] Tommo#7032: 562218967318528030 |
||||
|
[PIN] Kahn#5271: 562218967318528030 |
||||
|
[PIN] Schultz™#8592: 562218967318528030 |
||||
|
[PINNED] TC's Ghost#0675: 562218478669529110 |
||||
|
[PIN] Alonso#1219: 562218478669529110 |
||||
|
[PIN] fonnymunkey#4059: 562218478669529110 |
||||
|
[PIN] Mawile#9390: 562218478669529110 |
||||
|
[PIN] StarMagician#5358: 562218478669529110 |
||||
|
[PIN] Tommo#7032: 562218478669529110 |
||||
|
[PIN] BreadCrumbs#1708: 562218478669529110 |
||||
|
[PIN] sex man#4887: 562218478669529110 |
||||
|
[PIN] Kahn#5271: 562218478669529110 |
||||
|
[PIN] Schultz™#8592: 562218478669529110 |
||||
|
[PINNED] StarMagician#5358: 562218387820904450 |
||||
|
[PIN] Alonso#1219: 562218387820904450 |
||||
|
[PIN] fonnymunkey#4059: 562218387820904450 |
||||
|
[PIN] Mawile#9390: 562218387820904450 |
||||
|
[PIN] StarMagician#5358: 562218387820904450 |
||||
|
[PIN] Tommo#7032: 562218387820904450 |
||||
|
[PINNED] StarMagician#5358: 562216035420209170 |
||||
|
[PIN] Alonso#1219: 562216035420209170 |
||||
|
[PIN] fonnymunkey#4059: 562216035420209170 |
||||
|
[PIN] StarMagician#5358: 562216035420209170 |
||||
|
[PIN] Kahn#5271: 562216035420209170 |
||||
|
[PINNED] fonnymunkey#4059: 562215671577182221 |
||||
|
[PIN] Alonso#1219: 562215671577182221 |
||||
|
[PIN] fonnymunkey#4059: 562215671577182221 |
||||
|
[PIN] StarMagician#5358: 562215671577182221 |
||||
|
[PIN] Kahn#5271: 562215671577182221 |
||||
|
[PINNED] Kahn#5271: 562213396129513485 |
||||
|
[PIN] fonnymunkey#4059: 562213396129513485 |
||||
|
[PIN] StarMagician#5358: 562213396129513485 |
||||
|
[PIN] Kahn#5271: 562213396129513485 |
||||
|
[PINNED] StarMagician#5358: 562200042447044639 |
||||
|
[PIN] Alonso#1219: 562200042447044639 |
||||
|
[PIN] StarMagician#5358: 562200042447044639 |
||||
|
[PIN] Tommo#7032: 562200042447044639 |
||||
|
[PIN] Kahn#5271: 562200042447044639 |
||||
|
[PIN] Schultz™#8592: 562200042447044639 |
||||
|
[PINNED] Ghost#9283: 562199574450798592 |
||||
|
[PIN] Ghost#9283: 562199574450798592 |
||||
|
[PIN] StarMagician#5358: 562199574450798592 |
||||
|
[PIN] Kahn#5271: 562199574450798592 |
||||
|
[PIN] Schultz™#8592: 562199574450798592 |
||||
|
[PINNED] Alonso#1219: 562199389687382026 |
||||
|
[PIN] fonnymunkey#4059: 562199389687382026 |
||||
|
[PIN] StarMagician#5358: 562199389687382026 |
||||
|
[PIN] Kahn#5271: 562199389687382026 |
||||
|
[PINNED] Tommo#7032: 562197060225597442 |
||||
|
[PIN] StarMagician#5358: 562197060225597442 |
||||
|
[PIN] Tommo#7032: 562197060225597442 |
||||
|
[PIN] sex man#4887: 562197060225597442 |
||||
|
[PIN] Kahn#5271: 562197060225597442 |
||||
|
[PIN] Schultz™#8592: 562197060225597442 |
||||
|
[PINNED] sex man#4887: 562196874883497997 |
||||
|
[PIN] Alonso#1219: 562196874883497997 |
||||
|
[PIN] fonnymunkey#4059: 562196874883497997 |
||||
|
[PIN] StarMagician#5358: 562196874883497997 |
||||
|
[PIN] Tommo#7032: 562196874883497997 |
||||
|
[PIN] sex man#4887: 562196874883497997 |
||||
|
[PIN] Schultz™#8592: 562196874883497997 |
||||
|
[PINNED] fonnymunkey#4059: 562196736844496897 |
||||
|
[PIN] razedtomidnight#2272: 562196736844496897 |
||||
|
[PIN] Alonso#1219: 562196736844496897 |
||||
|
[PIN] fonnymunkey#4059: 562196736844496897 |
||||
|
[PIN] Tommo#7032: 562196736844496897 |
||||
|
[PIN] sex man#4887: 562196736844496897 |
||||
|
[PIN] aaaa#6941: 562196736844496897 |
||||
|
[PIN] Kahn#5271: 562196736844496897 |
||||
|
[PIN] Schultz™#8592: 562196736844496897 |
||||
|
[PINNED] Alonso#1219: 562196617940172808 |
||||
|
[PIN] StarMagician#5358: 562196617940172808 |
||||
|
[PIN] Tommo#7032: 562196617940172808 |
||||
|
[PIN] Kahn#5271: 562196617940172808 |
||||
|
[PIN] Schultz™#8592: 562196617940172808 |
||||
|
[PINNED] fonnymunkey#4059: 562196498352177153 |
||||
|
[PIN] fonnymunkey#4059: 562196498352177153 |
||||
|
[PIN] sex man#4887: 562196498352177153 |
||||
|
[PIN] Kahn#5271: 562196498352177153 |
||||
|
[PIN] Schultz™#8592: 562196498352177153 |
||||
|
[PINNED] StarMagician#5358: 562196396648955926 |
||||
|
[PIN] razedtomidnight#2272: 562196396648955926 |
||||
|
[PIN] Alonso#1219: 562196396648955926 |
||||
|
[PIN] fonnymunkey#4059: 562196396648955926 |
||||
|
[PIN] StarMagician#5358: 562196396648955926 |
||||
|
[PIN] sex man#4887: 562196396648955926 |
||||
|
[PIN] Kahn#5271: 562196396648955926 |
||||
|
[PIN] Schultz™#8592: 562196396648955926 |
||||
|
[PINNED] sex man#4887: 562196105903865856 |
||||
|
[PIN] Ghost#9283: 562196105903865856 |
||||
|
[PIN] sex man#4887: 562196105903865856 |
||||
|
[PIN] Kahn#5271: 562196105903865856 |
||||
|
[PIN] Schultz™#8592: 562196105903865856 |
||||
|
[PINNED] fonnymunkey#4059: 562196005894881283 |
||||
|
[PIN] fonnymunkey#4059: 562196005894881283 |
||||
|
[PIN] Schultz™#8592: 562196005894881283 |
||||
|
[PINNED] Mawile#9390: 562195983526526977 |
||||
|
[PIN] Ghost#9283: 562195983526526977 |
||||
|
[PIN] sex man#4887: 562195983526526977 |
||||
|
[PIN] Kahn#5271: 562195983526526977 |
||||
|
[PINNED] StarMagician#5358: 562195878425788426 |
||||
|
[PIN] Alonso#1219: 562195878425788426 |
||||
|
[PIN] fonnymunkey#4059: 562195878425788426 |
||||
|
[PIN] sex man#4887: 562195878425788426 |
||||
|
[PIN] Kahn#5271: 562195878425788426 |
||||
|
[PIN] Schultz™#8592: 562195878425788426 |
||||
|
[PINNED] Alonso#1219: 562195704148393985 |
||||
|
[PIN] fonnymunkey#4059: 562195704148393985 |
||||
|
[PIN] StarMagician#5358: 562195704148393985 |
||||
|
[PIN] Kahn#5271: 562195704148393985 |
||||
|
[PIN] Schultz™#8592: 562195704148393985 |
||||
|
[PINNED] sex man#4887: 562195740642902028 |
||||
|
[PIN] Alonso#1219: 562195740642902028 |
||||
|
[PIN] Ghost#9283: 562195740642902028 |
||||
|
[PIN] fonnymunkey#4059: 562195740642902028 |
||||
|
[PIN] StarMagician#5358: 562195740642902028 |
||||
|
[PIN] Tommo#7032: 562195740642902028 |
||||
|
[PIN] sex man#4887: 562195740642902028 |
||||
|
[PIN] Kahn#5271: 562195740642902028 |
||||
|
[PIN] Schultz™#8592: 562195740642902028 |
||||
|
[PINNED] fonnymunkey#4059: 562195399193001988 |
||||
|
[PIN] Alonso#1219: 562195399193001988 |
||||
|
[PIN] Ghost#9283: 562195399193001988 |
||||
|
[PIN] fonnymunkey#4059: 562195399193001988 |
||||
|
[PIN] Kahn#5271: 562195399193001988 |
||||
|
[PINNED] Kahn#5271: 562195552486293514 |
||||
|
[PIN] Alonso#1219: 562195552486293514 |
||||
|
[PIN] fonnymunkey#4059: 562195552486293514 |
||||
|
[PIN] Mawile#9390: 562195552486293514 |
||||
|
[PIN] sex man#4887: 562195552486293514 |
||||
|
[PIN] Kahn#5271: 562195552486293514 |
||||
|
[PIN] Schultz™#8592: 562195552486293514 |
||||
|
[PINNED] sex man#4887: 562195369476489216 |
||||
|
[PIN] Alonso#1219: 562195369476489216 |
||||
|
[PIN] Ghost#9283: 562195369476489216 |
||||
|
[PIN] StarMagician#5358: 562195369476489216 |
||||
|
[PIN] sex man#4887: 562195369476489216 |
||||
|
[PINNED] Alonso#1219: 562195241604481045 |
||||
|
[PIN] Ghost#9283: 562195241604481045 |
||||
|
[PIN] fonnymunkey#4059: 562195241604481045 |
||||
|
[PIN] Kahn#5271: 562195241604481045 |
||||
|
[PIN] Schultz™#8592: 562195241604481045 |
||||
|
[PINNED] fonnymunkey#4059: 562195108922130444 |
||||
|
[PIN] Alonso#1219: 562195108922130444 |
||||
|
[PIN] Ghost#9283: 562195108922130444 |
||||
|
[PIN] fonnymunkey#4059: 562195108922130444 |
||||
|
[PIN] Kahn#5271: 562195108922130444 |
||||
|
[PINNED] StarMagician#5358: 562194918613843969 |
||||
|
[PIN] Alonso#1219: 562194918613843969 |
||||
|
[PIN] Ghost#9283: 562194918613843969 |
||||
|
[PIN] fonnymunkey#4059: 562194918613843969 |
||||
|
[PIN] StarMagician#5358: 562194918613843969 |
||||
|
[PIN] sex man#4887: 562194918613843969 |
||||
|
[PINNED] StarMagician#5358: 562194662471761930 |
||||
|
[PIN] Ghost#9283: 562194662471761930 |
||||
|
[PIN] Schultz™#8592: 562194662471761930 |
||||
|
[PINNED] fonnymunkey#4059: 562187072497123328 |
||||
|
[PIN] Alonso#1219: 562187072497123328 |
||||
|
[PIN] StarMagician#5358: 562187072497123328 |
||||
|
[PIN] Tommo#7032: 562187072497123328 |
||||
|
[PIN] goodboy98#9709: 562187072497123328 |
@ -0,0 +1,17 @@ |
|||||
|
import discord |
||||
|
|
||||
|
from os import listdir |
||||
|
|
||||
|
class Client(discord.Client): |
||||
|
async def on_ready(self): |
||||
|
print("Logged on as", self.user) |
||||
|
|
||||
|
# file = discord.File(open("shapiro.png", "rb"), filename="shapiro.png") |
||||
|
|
||||
|
channel = self.get_channel(256684714180608001) |
||||
|
# await channel.send(file=file) |
||||
|
|
||||
|
await self.logout() |
||||
|
|
||||
|
client = Client() |
||||
|
client.run(open("token").read().strip()) |
|
@ -0,0 +1,39 @@ |
|||||
|
#!/usr/bin/env python3 |
||||
|
|
||||
|
users = {} |
||||
|
emojis = {} |
||||
|
|
||||
|
for line in open("foolsbot.log"): |
||||
|
if line.startswith("[NEW EMOJI]"): |
||||
|
emoji = line.split(":")[0].split(" ")[2].strip() |
||||
|
if emoji not in emojis: |
||||
|
emojis[emoji] = [0, 0] |
||||
|
emojis[emoji][0] += 1 |
||||
|
|
||||
|
user = line.split(":")[1].strip() |
||||
|
if not user in users: |
||||
|
users[user] = [0, 0] |
||||
|
users[user][0] += 1 |
||||
|
|
||||
|
if line.startswith("[DEL EMOJI]"): |
||||
|
emoji = line.split(":")[0].split(" ")[2].strip() |
||||
|
if emoji not in emojis: |
||||
|
emojis[emoji] = [0, 0] |
||||
|
emojis[emoji][1] += 1 |
||||
|
|
||||
|
user = line.split(":")[1].strip() |
||||
|
if not user in users: |
||||
|
users[user] = [0, 0] |
||||
|
users[user][1] += 1 |
||||
|
|
||||
|
lusers = sorted(users.items(), key=lambda k: k[1][0] + k[1][1], reverse=True) |
||||
|
lemojis = sorted(emojis.items(), key=lambda k: k[1][0] + k[1][1], reverse=True) |
||||
|
|
||||
|
print("User,Added,Removed") |
||||
|
for luser in lusers: |
||||
|
print("%s,%s,%s" % (luser[0], luser[1][0], luser[1][1])) |
||||
|
|
||||
|
print(",,") |
||||
|
print("Emoji,Added,Removed") |
||||
|
for lemoji in lemojis: |
||||
|
print("%s,%s,%s" % (lemoji[0], lemoji[1][0], lemoji[1][1])) |
Loading…
Reference in new issue