This file contains 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 discord | |
from discord.ext import commands | |
import youtube_dl | |
import asyncio | |
import itertools | |
import sys | |
import traceback | |
from async_timeout import timeout | |
from functools import partial | |
from youtube_dl import YoutubeDL |
This file contains 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
@commands.Cog.listener() | |
async def on_member_join(self, member): | |
if member.guild.id is 554843544372903947: | |
if member.bot: | |
embed = discord.Embed(title=f"BOT {member.name}#{member.discriminator}", color=0x009933) | |
embed.add_field(name=f"Creation Date", value=f" {member.created_at.strftime('%B %d, %Y')}", inline=True) | |
embed.add_field(name=f"Join Date", value=f" {member.joined_at.strftime('%B %d, %Y')}", inline=True) | |
embed.set_author(name="Bot Joined", icon_url=member.avatar_url) | |
# embed.set_image(url=member.avatar_url) | |
try: |
This file contains 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
@commands.command(brief="Shows the system status of the host", aliases=['systeminfo']) | |
async def systemstats(self, ctx): | |
"""System Status.""" | |
def solveunit(input): | |
output = ((input // 1024) // 1024) // 1024 | |
return int(output) | |
total_seconds = int(time.time()) - int(psutil.boot_time()) | |
mins, secs = divmod(total_seconds, 60) |
This file contains 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
jackson = 332226392567578635 | |
botid = 498701865978953738 | |
janelle = 347496255024529419 | |
james = 434808409754435585 | |
jack = 301137047920574467 | |
ben = 282745710330511360 | |
sharad = 401376556414402560 | |
kooner = 401051836968075304 | |
chad = 481934605495042048 | |
rowan = 328197282778316800 |
This file contains 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 discord | |
from discord import guild | |
from discord.ext.commands import bot | |
from discord.ext import commands | |
import asyncio | |
import random | |
import sys | |
import os | |
server = 392138095547645954 |
This file contains 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
Exception has occurred: ModuleNotFoundError | |
No module named 'aiofiles' | |
File "C:\users\jackson\dropbox\bot\<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed | |
File "C:\users\jackson\dropbox\bot\<frozen importlib._bootstrap_external>", line 728, in exec_module | |
File "C:\users\jackson\dropbox\bot\<frozen importlib._bootstrap>", line 677, in _load_unlocked | |
File "C:\users\jackson\dropbox\bot\<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked | |
File "C:\users\jackson\dropbox\bot\<frozen importlib._bootstrap>", line 983, in _find_and_load | |
File "C:\users\jackson\dropbox\bot\<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed | |
File "C:\users\jackson\dropbox\bot\<frozen importlib._bootstrap>", line 1043, in _handle_fromlist | |
File "C:\users\jackson\dropbox\bot\<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed |
This file contains 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
jackson = 332226392567578635 | |
sentinel = 0 | |
bot = commands.Bot( | |
description="A bot created by Infidel Eraser#5265 for fun." | |
' It contains meme commands and it even has a useful few tools.' | |
' The prefix is "shrek" or mention the bot', | |
command_prefix=commands.when_mentioned_or("shrek ") | |
) |
This file contains 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 java.net.*; | |
import java.awt.Desktop; | |
import java.io.*; | |
import java.util.Random; | |
import javax.swing.JOptionPane; | |
public class WhatGame { | |
public static void main(String[] args) throws Exception{ | |
// TODO Auto-generated method stub |
This file contains 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 java.util.Scanner; | |
import javax.swing.JOptionPane; | |
public class fahrenheitToCelcius { | |
private static Scanner f; | |
public static void main (String[] args) //program created by Infidel Eraser#5265 on discord | |
{ |
This file contains 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
package Codes; | |
import java.util.Scanner; | |
public class fahrenheitToCelcius { | |
private static Scanner f; | |
public static void main (String[] args) //program created by Infidel Eraser#5265 on discord | |
{ |