We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b083124 + 0c8e55e commit 3e55d28Copy full SHA for 3e55d28
main.py
@@ -115,19 +115,6 @@ async def on_ready():
115
print('Current working dir: ' + str(os.getcwd()))
116
print(f'System directory: {homedir}')
117
print('------------------')
118
- try:
119
- botpath = 'main.py'
120
- botsize = os.path.getsize(botpath)
121
- print(f'Bot file size: {botsize}b')
122
- print('------------------')
123
- except FileNotFoundError:
124
- if os.name == 'posix':
125
126
- print('Bot file size: ' + os.path.getsize('main.py'))
127
128
129
- print('Bot file size: ' + os.path.getsize(str(os.getcwd() + '\\main.py')))
130
131
132
# Error Handler
133
@client.event
0 commit comments