Skip to content

Commit 7a84f2e

Browse files
committed
att: Colocar no ar
1 parent ebe9d0d commit 7a84f2e

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,4 @@ dmypy.json
127127
# Pyre type checker
128128
.pyre/
129129

130-
teste.py
131-
requeriments.txt
130+
teste.py

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"python.analysis.extraPaths": [
3+
"./sample/jokes"
4+
]
5+
}

Sample/embed.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import discord
2-
import jokes as jk
2+
import sample.jokes as jk
33

44
# Icone do LoL
55
lolIcon = "https://cdn.discordapp.com/attachments/975993751455559680/976940532251127918/lolIcon.png"
@@ -32,4 +32,4 @@ async def time(ctx, listaTimeA, listaTimeB, bot):
3232
embed.add_field(name="─────| TIME BLUE |─────", value= "\n".join(listaTimeA))
3333
embed.add_field(name="─────| TIME RED |─────", value= "\n".join(listaTimeB), inline=False)
3434
embed.set_footer(text="Feito por " + bot.user.name, icon_url= bot.user.avatar)
35-
await ctx.send(embed=embed)
35+
await ctx.send(embed=embed)

Sample/formatting.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import randomTeam.randomTeam as rt
2-
import randomTeam.randomTeamLane as rtl
1+
import sample.randomTeam.randomTeam as rt
2+
import sample.randomTeam.randomTeamLane as rtl
33

44
def formatarTimeLane(jogadores):
55
listaTimeLaneA = []

Sample/main.py main.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import embed
2-
import formatting
1+
import sample.embed as embed
2+
import sample.formatting as formatting
33
import discord
44
from discord.ext import commands
55

@@ -29,4 +29,4 @@ async def registrarTime(message, jogadores):
2929
listaTimeA, listaTimeB = formatting.formatarTime(jogadores)
3030
await embed.time(message, listaTimeA, listaTimeB, bot)
3131

32-
bot.run('OTc1OTQ3MDcyNDg4NDg0OTI2.GDwnKM.Dx1hfLO4CYJ0qU1CMZ_nmceXPJTIoUudajdoYc')
32+
bot.run('')

0 commit comments

Comments
 (0)