Skip to content

Commit db53eb8

Browse files
committed
Initial commit
0 parents  commit db53eb8

15 files changed

+6782
-0
lines changed

03012022a/iso6.9in03012022a_gitsource.py

+848
Large diffs are not rendered by default.

03012022b/iso6.9in03012022b_gitsource.py

+867
Large diffs are not rendered by default.

11012022a/iso6.9in11012022a_gitsource.py

+919
Large diffs are not rendered by default.

11012022c/iso6.9in11012022c_gitsource.py

+1,006
Large diffs are not rendered by default.

16012022b/iso6.9in16012022b_gitsource.py

+1,319
Large diffs are not rendered by default.

17012022c/iso6.9in17012022c_gitsource.py

+1,363
Large diffs are not rendered by default.

README.md

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# iso6.9-2.6stable (debloated)
2+
iso.bot is originally made by notsniped#4573. This is a remix of iso.bot by αrchιshα#5518.
3+
4+
iso6.9 is a Discord bot written in Python and is used to make your Discord experience better! It is similar to iso.bot as it is a remix.
5+
6+
Its prefix is `]`.
7+
8+
Invite link: https://discord.com/oauth2/authorize?client_id=915488087554002956&permissions=8&scope=bot
9+
10+
(it is normally run in replit)
11+
12+
# Insert token and id before running the code.
13+
To run it, put the bot token inside:
14+
15+
> token = "token"
16+
17+
Also put your discord id in:
18+
19+
> cid = "client_id"
20+
21+
To get your id, run `?userinfo` or `auserinfo` (slash commands also works) in any servers with Dyno or Arcane and copy your bot's client ID.
22+
23+
In order to use reddit commands, put your Reddit client id and client secret in:
24+
25+
> reddit = praw.Reddit(client_id='reddit_client_id',
26+
client_secret='reddit_client_secret',
27+
user_agent='idk copied from thatOneArchUser', check_for_async=False)
28+
29+
# Commands (for all versions in this repo)
30+
- Use `]help` to get command list, use `]ahelp` to get alias list.
31+
32+
- Admin commands are included (use `sudo help` to see detailed command list)
33+
34+
***AND MORE COMMANDS WILL BE ADDED! (NOT ALL COMMANDS ARE LISTED HERE)***
35+
36+
# Features
37+
- Successfully transferred some of iso.bot's original commands
38+
39+
- Used different methods instead of copying codes
40+
41+
- Added different commands and responses into iso.bot's original codes
42+
43+
- Some commands such as `]notify` was actually been terminated in iso.bot. However, it was rewritten to service here!
44+
45+
- Can do Maths!
46+
47+
***ALL CODES ARE AUTHORIZED BY ISOBOT'S OWNERS (as we are partners?)***
48+
49+
# Contacts
50+
Contact me:
51+
- Discord: check my bio (DM open)
52+
53+
***YOU ARE WELCOME TO DM ME IN DISCORD FOR ANY FURTHER INFORMATION, ALSO I WILL BE GLAD IF ANY ISSUE IS REPORTED, PULL REQUESTS ARE ACCEPTED!***
54+
55+
Official iso.bot/iso6.9 server for support:
56+
- Iso Support: https://discord.gg/zTqZqQCcAg
57+
58+
Partners (thank you for helping on early development!):
59+
60+
- Git: thatOneArchUser
61+
- Discord: thatOneArchUser#5794
62+
63+
- Git: notsniped
64+
- Discord: notsniped#4573
65+
66+
# Details info about iso6.9 / isobot
67+
For more details please read the original README.md by notsniped.
68+
69+
https://github.com/notsniped/isobot-discord-bot-python
70+
71+
***MORE FEATURES WILL BE ADDED, LOOKING FORWARD TO IT!***
72+
73+
*Hashtags:*
74+
*#isobot #iso6.9 #discord.py*

keep_alive.py

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from flask import Flask
2+
from threading import Thread
3+
4+
app = Flask('')
5+
6+
@app.route('/')
7+
def main():
8+
return "totally not online"
9+
10+
def run():
11+
app.run(host="0.0.0.0", port=6969)
12+
13+
def keep_alive():
14+
s = Thread(target=run)
15+
s.start()

sources/bot-env_-_ZIPPED.zip

8 MB
Binary file not shown.

sources/encode.py

+121
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
@bot.command()
2+
async def encode(ctx, *, text:str):
3+
value = 0
4+
arr = []
5+
for i in text:
6+
if i == "a":
7+
arr.append("+#")
8+
elif i == "b":
9+
arr.append("++#")
10+
elif i == "c":
11+
arr.append("+++#")
12+
elif i == "d":
13+
arr.append("++++#")
14+
elif i == "e":
15+
arr.append("+++++#")
16+
elif i == "f":
17+
arr.append("++++++#")
18+
elif i == "g":
19+
arr.append("+++++++#")
20+
elif i == "h":
21+
arr.append("++++++++#")
22+
elif i == "i":
23+
arr.append("+++++++++#")
24+
elif i == "j":
25+
arr.append("++++++++++#")
26+
elif i == "k":
27+
arr.append("+++++++++++#")
28+
elif i == "l":
29+
arr.append("++++++++++++#")
30+
elif i == "m":
31+
arr.append("+++++++++++++#")
32+
elif i == "n":
33+
arr.append("++++++++++++++#")
34+
elif i == "o":
35+
arr.append("+++++++++++++++#")
36+
elif i == "p":
37+
arr.append("++++++++++++++++#")
38+
elif i == "q":
39+
arr.append("+++++++++++++++++#")
40+
elif i == "r":
41+
arr.append("++++++++++++++++++#")
42+
elif i == "s":
43+
arr.append("+++++++++++++++++++#")
44+
elif i == "t":
45+
arr.append("++++++++++++++++++++#")
46+
elif i == "u":
47+
arr.append("+++++++++++++++++++++#")
48+
elif i == "v":
49+
arr.append("++++++++++++++++++++++#")
50+
elif i == "w":
51+
arr.append("+++++++++++++++++++++++#")
52+
elif i == "x":
53+
arr.append("++++++++++++++++++++++++#")
54+
elif i == "y":
55+
arr.append("+++++++++++++++++++++++++#")
56+
elif i == "z":
57+
arr.append("++++++++++++++++++++++++++#")
58+
elif i == "A":
59+
arr.append("+@")
60+
elif i == "B":
61+
arr.append("++@")
62+
elif i == "C":
63+
arr.append("+++@")
64+
elif i == "D":
65+
arr.append("++++@")
66+
elif i == "E":
67+
arr.append("+++++@")
68+
elif i == "F":
69+
arr.append("++++++@")
70+
elif i == "G":
71+
arr.append("+++++++@")
72+
elif i == "H":
73+
arr.append("++++++++@")
74+
elif i == "I":
75+
arr.append("+++++++++@")
76+
elif i == "J":
77+
arr.append("++++++++++@")
78+
elif i == "K":
79+
arr.append("+++++++++++@")
80+
elif i == "L":
81+
arr.append("++++++++++++@")
82+
elif i == "M":
83+
arr.append("+++++++++++++@")
84+
elif i == "N":
85+
arr.append("++++++++++++++@")
86+
elif i == "O":
87+
arr.append("+++++++++++++++@")
88+
elif i == "P":
89+
arr.append("++++++++++++++++@")
90+
elif i == "Q":
91+
arr.append("+++++++++++++++++@")
92+
elif i == "R":
93+
arr.append("++++++++++++++++++@")
94+
elif i == "S":
95+
arr.append("+++++++++++++++++++@")
96+
elif i == "T":
97+
arr.append("++++++++++++++++++++@")
98+
elif i == "U":
99+
arr.append("+++++++++++++++++++++@")
100+
elif i == "V":
101+
arr.append("++++++++++++++++++++++@")
102+
elif i == "W":
103+
arr.append("+++++++++++++++++++++++@")
104+
elif i == "X":
105+
arr.append("++++++++++++++++++++++++@")
106+
elif i == "Y":
107+
arr.append("+++++++++++++++++++++++++@")
108+
elif i == "Z":
109+
arr.append("++++++++++++++++++++++++++@")
110+
elif i == " ":
111+
arr.append("*")
112+
elif i.isdigit:
113+
if i == 0:
114+
arr.append("!&")
115+
else:
116+
var = "+"*int(i) + "&!"
117+
arr.append(var)
118+
119+
arr.append(".;")
120+
var = ''.join(arr)
121+
await ctx.reply(f"`{var}`")

sources/esolang.py

+137
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
import os
2+
if os.name == "nt":
3+
os.system("cls")
4+
else:
5+
os.system("clear")
6+
print("Archiescript v1.0\n")
7+
8+
value = 0
9+
cmd = input(">> ")
10+
l = []
11+
for i in cmd:
12+
l.append(i)
13+
14+
text = []
15+
for c in l:
16+
if c == "+":
17+
value += 1
18+
elif c == "-":
19+
value -= 1
20+
elif c == ".":
21+
print(''.join(text))
22+
elif c == '#':
23+
if value == 1:
24+
text.append("a")
25+
elif value == 2:
26+
text.append("b")
27+
elif value == 3:
28+
text.append("c")
29+
elif value == 4:
30+
text.append("d")
31+
elif value == 5:
32+
text.append("e")
33+
elif value == 6:
34+
text.append("f")
35+
elif value == 7:
36+
text.append("g")
37+
elif value == 8:
38+
text.append("h")
39+
elif value == 9:
40+
text.append("i")
41+
elif value == 10:
42+
text.append("j")
43+
elif value == 11:
44+
text.append("k")
45+
elif value == 12:
46+
text.append("l")
47+
elif value == 13:
48+
text.append("m")
49+
elif value == 14:
50+
text.append("n")
51+
elif value == 15:
52+
text.append("o")
53+
elif value == 16:
54+
text.append("p")
55+
elif value == 17:
56+
text.append("q")
57+
elif value == 18:
58+
text.append("r")
59+
elif value == 19:
60+
text.append("s")
61+
elif value == 20:
62+
text.append("t")
63+
elif value == 21:
64+
text.append("u")
65+
elif value == 22:
66+
text.append("v")
67+
elif value == 23:
68+
text.append("w")
69+
elif value == 24:
70+
text.append("x")
71+
elif value == 25:
72+
text.append("y")
73+
elif value == 26:
74+
text.append("z")
75+
value = 0
76+
elif c == '@':
77+
if value == 1:
78+
text.append("A")
79+
elif value == 2:
80+
text.append("B")
81+
elif value == 3:
82+
text.append("C")
83+
elif value == 4:
84+
text.append("D")
85+
elif value == 5:
86+
text.append("E")
87+
elif value == 6:
88+
text.append("F")
89+
elif value == 7:
90+
text.append("G")
91+
elif value == 8:
92+
text.append("H")
93+
elif value == 9:
94+
text.append("I")
95+
elif value == 10:
96+
text.append("J")
97+
elif value == 11:
98+
text.append("K")
99+
elif value == 12:
100+
text.append("L")
101+
elif value == 13:
102+
text.append("M")
103+
elif value == 14:
104+
text.append("N")
105+
elif value == 15:
106+
text.append("O")
107+
elif value == 16:
108+
text.append("P")
109+
elif value == 17:
110+
text.append("Q")
111+
elif value == 18:
112+
text.append("R")
113+
elif value == 19:
114+
text.append("S")
115+
elif value == 20:
116+
text.append("T")
117+
elif value == 21:
118+
text.append("U")
119+
elif value == 22:
120+
text.append("V")
121+
elif value == 23:
122+
text.append("W")
123+
elif value == 24:
124+
text.append("X")
125+
elif value == 25:
126+
text.append("Y")
127+
elif value == 26:
128+
text.append("Z")
129+
value = 0
130+
elif c == ";":
131+
quit()
132+
elif c == "*":
133+
text.append(" ")
134+
elif c == "!":
135+
value = 0
136+
elif c == "&":
137+
text.append(str(value))

sources/quad1.py

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Solve the quadratic equation ax**2 + bx + c = 0
2+
3+
# import complex math module
4+
import cmath
5+
6+
a = int(input())
7+
b = int(input())
8+
c = int(input())
9+
10+
# calculate the discriminant
11+
d = (b**2) - (4*a*c)
12+
13+
# find two solutions
14+
sol1 = (-b-cmath.sqrt(d))/(2*a)
15+
sol2 = (-b+cmath.sqrt(d))/(2*a)
16+
17+
print('The solution are {0} and {1}'.format(sol1,sol2))

sources/quad2.py

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# ax**2 + bx + c = 0
2+
3+
#import complex math
4+
import cmath
5+
6+
#user input
7+
a = float(input("a?"))
8+
b = float(input("b?"))
9+
c = float(input("c?"))
10+
11+
# discriminant
12+
delta = (b**2) - (4*a*c)
13+
14+
# quadratic formula
15+
r1 = (-b-cmath.sqrt(delta))/(2*a)
16+
r2 = (-b+cmath.sqrt(delta))/(2*a)
17+
18+
# result
19+
print(f"The roots are {r1} and {r2}. ")

0 commit comments

Comments
 (0)