ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
Add Google's Gemini to your discord bot!
Hey, is your background a programmer/coding?
Yes mostly java
How can i make it reply to anyone instead of the Only id
You should be able to let the bot talk to anyone. You can try viewing this discord bot basics vid th-cam.com/video/y1TAB0Wgkn8/w-d-xo.html
@ShahidFoy the only problem is I don't know how to get the Google api
heygreat vid the bot worksone problemi want to confine the bot to one specific channelhow can i do that?regrads
You will need to look into the methods and logic used in the Gemini cog. You can edit it to send messages to only the server if needed
I tested in a test server and it works in every channel instead of onei want to configure that do you have any idea that will help
@qv3i_388 I'm not looking at the discord.py docs rn but you might be able to capture which channel is being activated in the on_message method. something like If msg.channel.name == 'your-channel': might work
You could also look into removing the bots' permissions from the other channels
@@ShahidFoy yea ig that is way easier
Eww pythondiscordjs is better
Does discordjs work with typescript?
@@ShahidFoy yess
Add Google's Gemini to your discord bot!
Hey, is your background a programmer/coding?
Yes mostly java
How can i make it reply to anyone instead of the Only id
You should be able to let the bot talk to anyone. You can try viewing this discord bot basics vid th-cam.com/video/y1TAB0Wgkn8/w-d-xo.html
@ShahidFoy the only problem is I don't know how to get the Google api
hey
great vid
the bot works
one problem
i want to confine the bot to one specific channel
how can i do that?
regrads
You will need to look into the methods and logic used in the Gemini cog. You can edit it to send messages to only the server if needed
I tested in a test server and it works in every channel instead of one
i want to configure that
do you have any idea that will help
@qv3i_388 I'm not looking at the discord.py docs rn but you might be able to capture which channel is being activated in the on_message method. something like If msg.channel.name == 'your-channel': might work
You could also look into removing the bots' permissions from the other channels
@@ShahidFoy yea ig that is way easier
Eww python
discordjs is better
Does discordjs work with typescript?
@@ShahidFoy yess